1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/tools/llvm-readobj
Alexander Yermolovich 8ba7df9183 [LLD] Adding support for RELA for CG Profile.
This is a follow up to https://reviews.llvm.org/D104080, and ca3bdb57fa (diff-e64a48fabe31db213a631fdc5f2acb51bdddf3f16a8fb2928784f4c579229585). The implementation of  call graph profile was changed from a black box section to relocation approach. This was done to be compatible with post processing tools like strip/objcopy, and llvm equivalent. When they are invoked on object file before the final linking step with this new approach the symbol indices correctness is preserved.

The GNU binutils tools change the REL section to RELA section, unlike llvm tools. For example when strip -S is run on the ELF object files, as an intermediate step before linking. To preserve compatibility this patch extends implementation in LLD and ELFDumper to support both REL and RELA sections for call graph profile.

Reviewed By: MaskRay, jhenderson

Differential Revision: https://reviews.llvm.org/D105217
2021-07-13 13:56:30 -07:00
..
ARMEHABIPrinter.h
ARMWinEHPrinter.cpp [llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones 2021-05-04 22:22:18 +03:00
ARMWinEHPrinter.h [llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones 2021-05-04 22:22:18 +03:00
CMakeLists.txt [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00
COFFDumper.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
COFFImportDumper.cpp
DwarfCFIEHPrinter.h
ELFDumper.cpp [LLD] Adding support for RELA for CG Profile. 2021-07-13 13:56:30 -07:00
llvm-readobj.cpp [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00
llvm-readobj.h [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00
MachODumper.cpp [llvm-readobj] Recognize N_THUMB_DEF as a symbol flag 2021-04-30 17:39:56 -04:00
ObjDumper.cpp [llvm-readobj][XCOFF] Add support for printing the String Table. 2021-07-05 04:16:58 +00:00
ObjDumper.h [llvm-readobj][XCOFF] Add support for printing the String Table. 2021-07-05 04:16:58 +00:00
Opts.td [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00
StackMapPrinter.h
WasmDumper.cpp [WebAssembly] Rename event to tag 2021-06-17 20:34:19 -07:00
Win64EHDumper.cpp
Win64EHDumper.h
WindowsResourceDumper.cpp
WindowsResourceDumper.h
XCOFFDumper.cpp [llvm-readobj][XCOFF] Add support for printing the String Table. 2021-07-05 04:16:58 +00:00