blob: ba1dfb00efdf39ed6d91d8d7c0ac60efc016fd6e [file] [log] [blame]
Martin Storsjoe30487c2019-01-15 09:34:45 +00001RUN: yaml2obj %p/Inputs/strip-symbols.yaml > %t.o
2RUN: not llvm-objcopy -N foo %t.o 2>&1 | FileCheck %s --check-prefix=ERROR
3RUN: not llvm-objcopy --strip-symbol foo %t.o 2>&1 | FileCheck %s --check-prefix=ERROR
Martin Storsjo10b72962019-01-10 21:28:24 +00004
Martin Storsjoe30487c2019-01-15 09:34:45 +00005ERROR: error: '{{.*}}{{/|\\}}strip-reloc-symbol.test.tmp.o': not stripping symbol 'foo' because it is named in a relocation.