mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
89642abc65
This patch adds half a dozen new tests that test various edge cases in the behaviour of the symbolizer and DWARF data parsing. All of them test the current behaviour. Reviewed by: JDevlieghere, aprantl Differential Revision: https://reviews.llvm.org/D57741 llvm-svn: 353286
12 lines
408 B
Plaintext
12 lines
408 B
Plaintext
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
|