llvm-project/llvm/test/tools/llvm-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
ELF [ELF][llvm-objcopy] Reject duplicate SHT_SYMTAB sections 2023-02-17 17:59:20 +00:00
Inputs
MachO
wasm
XCOFF
dash-dash.test
grouped-options.test
redefine-symbols.test
tool-help-message.test
tool-name.test
tool-version.test