mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Don't disassemble symbols with an unknown address or size.
Patch by Nico Rieck! llvm-svn: 178678
This commit is contained in:
parent
99a330354d
commit
4dc4bfd311
@ -228,6 +228,7 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) {
|
||||
if (!error(i->containsSymbol(*si, contains)) && contains) {
|
||||
uint64_t Address;
|
||||
if (error(si->getAddress(Address))) break;
|
||||
if (Address == UnknownAddressOrSize) continue;
|
||||
Address -= SectionAddr;
|
||||
|
||||
StringRef Name;
|
||||
|
Loading…
Reference in New Issue
Block a user