1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/Object
diggerlin 94db89b3ba [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D
SUMMARY:

For the llvm-objdump -D, the symbol name is used as a label in the disassembly for the specific address (when a symbol address is equal to the virtual address in the dump).

In XCOFF, multiple symbols may have the same name, being differentiated by their storage mapping class. It is helpful to print the QualName and not just the name when forming the output label for a csect symbol. The symbol index further removes any ambiguity caused by duplicate names.

To maintain compatibility with the binutils objdump, the XCOFF-specific --symbol-description option is added to enable the enhanced format.

Reviewers: hubert.reinterpretcast, James Henderson, Jason Liu ,daltenty
Subscribers: wuzish, nemanjai, hiraditya

Differential Revision: https://reviews.llvm.org/D72973
2020-04-06 10:10:10 -04:00
..
Archive.cpp [Object] Fix handling of large archive members 2020-03-11 10:29:45 +00:00
ArchiveWriter.cpp Drop a StringMap.h include, NFC 2020-03-11 15:45:34 -07:00
Binary.cpp
CMakeLists.txt
COFFImportFile.cpp
COFFModuleDefinition.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
COFFObjectFile.cpp [Object] Add the method for checking if a section is a debug section 2020-04-02 10:56:00 +02:00
Decompressor.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
ELF.cpp [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ELFObjectFile.cpp [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
Error.cpp
IRObjectFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
IRSymtab.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
LLVMBuild.txt
MachOObjectFile.cpp [Object] Add the method for checking if a section is a debug section 2020-04-02 10:56:00 +02:00
MachOUniversal.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Minidump.cpp
ModuleSymbolTable.cpp Another round of GCC5 fixes. 2020-01-29 02:09:24 +01:00
Object.cpp
ObjectFile.cpp [Object] Add the method for checking if a section is a debug section 2020-04-02 10:56:00 +02:00
RecordStreamer.cpp [MC] De-capitalize another set of MCStreamer::Emit* functions 2020-02-14 19:26:52 -08:00
RecordStreamer.h [MC] De-capitalize another set of MCStreamer::Emit* functions 2020-02-14 19:26:52 -08:00
RelocationResolver.cpp
SymbolicFile.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
SymbolSize.cpp [NFC] Fix unused variable warning. 2020-01-28 17:19:23 -08:00
TapiFile.cpp
TapiUniversal.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
WasmObjectFile.cpp [WebAssembly] Move event section before global section 2020-03-25 11:49:03 -07:00
WindowsMachineFlag.cpp
WindowsResource.cpp Prevent gcc from issuing a warning upon coffnamecpy 2020-02-18 16:13:59 +01:00
XCOFFObjectFile.cpp [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D 2020-04-06 10:10:10 -04:00