Don't disassemble symbols with an unknown address or size.
Patch by Nico Rieck! llvm-svn: 178678
This commit is contained in:
parent
8d67ab4f70
commit
2d4b3a6b94
|
@ -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