[Lldb-commits] [PATCH] D35784: [LLD][MIPS] Fix Address::GetAddressClass() to return correct AddressClass based on the load address

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 27 12:03:24 PDT 2017


clayborg added a comment.

So the issue is with the ObjectFileELF when it makes its symbol table. It is taking this symbols:

  49686: 000000000000bcf0 0 NOTYPE LOCAL DEFAULT 40 $debug_ranges627

And saying it is a code symbol. This symbols has a NOTYPE on it, not FUNC like the main symbol. Fix the ObjectFileELF to give an appropriate lldb::SymbolType value for it. It shouldn't be lldb::SymbolType::eSymbolTypeCode. So set all NOTYPE to lldb::SymbolType::eSymbolTypeInvalid or add a new enum that makes sense.


https://reviews.llvm.org/D35784





More information about the lldb-commits mailing list