mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-01-31 01:35:20 +01:00
[llvm-readobj] Use LLVMDebugInfoCodeView to parse line tables.
The llvm-readobj parsing code currently exists in our CodeView library, so we use that to parse instead of re-writing the logic in the tool. llvm-svn: 301718
This commit is contained in:
@@ -73,9 +73,6 @@ Error ModuleDebugStream::reload() {
|
||||
|
||||
iterator_range<codeview::CVSymbolArray::Iterator>
|
||||
ModuleDebugStream::symbols(bool *HadError) const {
|
||||
// It's OK if the stream is empty.
|
||||
if (SymbolsSubstream.getUnderlyingStream().getLength() == 0)
|
||||
return make_range(SymbolsSubstream.end(), SymbolsSubstream.end());
|
||||
return make_range(SymbolsSubstream.begin(HadError), SymbolsSubstream.end());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user