llvm-project/llvm/test/DebugInfo/symbolize-stripped-sections...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
408 B
Plaintext
Raw Normal View History

RUN: llvm-symbolizer --obj=%p/Inputs/llvm-symbolizer-test.elf-x86-64 0x401140 \
RUN: | FileCheck %s --check-prefix=UNSTRIPPED
RUN: llvm-objcopy --strip-sections %p/Inputs/llvm-symbolizer-test.elf-x86-64 %t.elf
RUN: llvm-symbolizer --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=STRIPPED
UNSTRIPPED: main
UNSTRIPPED-NEXT: llvm-symbolizer-test.c:10:0
STRIPPED: ??
STRIPPED-NEXT: ??:0:0