[Alignment][NFC] Migrate Instructions to Align
[llvm-core.git] / test / DebugInfo / symbolize-stripped-sections.test
blob51cfd56792b1e22fe4895864e2a7fb3c7482b44d
1 RUN: llvm-symbolizer --obj=%p/Inputs/llvm-symbolizer-test.elf-x86-64 0x401140 \
2 RUN:   | FileCheck %s --check-prefix=UNSTRIPPED
4 RUN: llvm-objcopy --strip-sections %p/Inputs/llvm-symbolizer-test.elf-x86-64 %t.elf
5 RUN: llvm-symbolizer --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=STRIPPED
7 UNSTRIPPED:      main
8 UNSTRIPPED-NEXT: llvm-symbolizer-test.c:10:0
10 STRIPPED:        ??
11 STRIPPED-NEXT:   ??:0:0