1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[PDB] Make ModStream::symbols report errors

llvm-svn: 271417
This commit is contained in:
David Majnemer 2016-06-01 18:13:04 +00:00
parent c93b9f9ce9
commit 73419abbaa

View File

@ -60,5 +60,6 @@ Error ModStream::reload() {
iterator_range<codeview::CVSymbolArray::Iterator>
ModStream::symbols(bool *HadError) const {
return llvm::make_range(SymbolsSubstream.begin(), SymbolsSubstream.end());
return llvm::make_range(SymbolsSubstream.begin(HadError),
SymbolsSubstream.end());
}