llvm-project/llvm/lib/ObjCopy
Moshe Berman bc6e10c9ef [ELF][llvm-objcopy] Reject duplicate SHT_SYMTAB sections
The gABI prohibits multiple SH_SYMTAB sections. As a result,
llvm-objcopy was crashing in SymbolTableSection::removeSymbols(). This
patch fixes the issue by emitting an error if multiple SH_SYMTAB
sections are encountered when building an ELF object.

Fixes: https://github.com/llvm/llvm-project/issues/60448

Differential Revision: https://reviews.llvm.org/D143508
2023-02-17 17:59:20 +00:00
..
COFF Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
ELF [ELF][llvm-objcopy] Reject duplicate SHT_SYMTAB sections 2023-02-17 17:59:20 +00:00
MachO Remove redundant .c_str() and .get() calls 2022-12-18 00:33:53 +00:00
wasm Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ part 2023-01-05 14:11:08 +01:00
XCOFF
Archive.cpp
Archive.h
CMakeLists.txt
CommonConfig.cpp
ConfigManager.cpp
ObjCopy.cpp