1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-objcopy/ELF
Georgii Rymar 29cf2215d1 [llvm-objcopy] - Do not crash on object that has relocations but no symbol table.
It was revealed by D69260.

Tool crashed when scanned relocations in a object without a symbol table.
This patch teaches it either to handle such objects (when relocations
does not use symbols we do not need a symbol table to proceed)
or to show an appropriate error otherwise.

Differential revision: https://reviews.llvm.org/D69304
2019-10-30 13:17:22 +03:00
..
ELFConfig.cpp [llvm-objcopy] Refactor ELF-specific config out to ELFCopyConfig. NFC. 2019-09-24 09:38:23 +00:00
ELFConfig.h [llvm-objcopy] Refactor ELF-specific config out to ELFCopyConfig. NFC. 2019-09-24 09:38:23 +00:00
ELFObjcopy.cpp [llvm-objcopy] --add-symbol: fix crash if SHT_SYMTAB does not exist 2019-10-17 11:21:54 +00:00
ELFObjcopy.h
Object.cpp [llvm-objcopy] - Do not crash on object that has relocations but no symbol table. 2019-10-30 13:17:22 +03:00
Object.h [llvm-objcopy] --add-symbol: fix crash if SHT_SYMTAB does not exist 2019-10-17 11:21:54 +00:00