llvm-project/llvm/tools/llvm-objcopy/ELF
Fangrui Song b14e9e3c0c Reland D76675 [llvm-objcopy] Match GNU behaviour regarding file symbols
Don't error on Config.KeepFileSymbols for COFF and Mach-O.

Original description:

GNU objcopy removes STT_FILE symbols for strip-debug operations, and
keeps them for --discard-all operation. Match their behaviour for
llvm-objcopy.

Bug: https://github.com/android/ndk/issues/1212

Differential Revision: https://reviews.llvm.org/D76675
2020-04-20 21:18:48 -07: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 Reland D76675 [llvm-objcopy] Match GNU behaviour regarding file symbols 2020-04-20 21:18:48 -07:00
ELFObjcopy.h [llvm-objcopy] Implement IHEX reader 2019-06-13 09:56:14 +00:00
Object.cpp [ADT/STLExtras.h] - Add llvm::is_sorted wrapper and update callers. 2020-04-14 14:11:02 +03:00
Object.h llvm-objcopy - fix uninitialized variable warnings. NFC. 2019-11-18 13:57:34 +00:00