mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Don't disassemble symbols with an unknown address or size.
Patch by Nico Rieck! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
19d7322170
commit
99ff2ba240
@ -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