bolt/deps/llvm-18.1.8/llvm/test/tools/llvm-objcopy/COFF/strip-reloc-symbol.test
2025-02-14 19:21:04 +01:00

5 lines
338 B
Text

RUN: yaml2obj %p/Inputs/strip-symbols.yaml -o %t.o
RUN: not llvm-objcopy -N foo %t.o 2>&1 | FileCheck %s --check-prefix=ERROR
RUN: not llvm-objcopy --strip-symbol foo %t.o 2>&1 | FileCheck %s --check-prefix=ERROR
ERROR: error: '{{.*}}{{/|\\}}strip-reloc-symbol.test.tmp.o': not stripping symbol 'foo' because it is named in a relocation