mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Add a basic test for llvm-symbolizer tool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
992347f271
commit
1c4d286f5c
21
test/DebugInfo/llvm-symbolizer.test
Normal file
21
test/DebugInfo/llvm-symbolizer.test
Normal file
@ -0,0 +1,21 @@
|
||||
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400559" > %t.input
|
||||
RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input
|
||||
RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x710" >> %t.input
|
||||
|
||||
RUN: llvm-symbolizer --functions --inlining --demangle=false < %t.input \
|
||||
RUN: | FileCheck %s
|
||||
|
||||
REQUIRES: shell
|
||||
|
||||
CHECK: main
|
||||
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
|
||||
CHECK: _Z1cv
|
||||
CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2
|
||||
CHECK: inlined_h
|
||||
CHECK-NEXT: dwarfdump-inl-test.h:2
|
||||
CHECK-NEXT: inlined_g
|
||||
CHECK-NEXT: dwarfdump-inl-test.h:7
|
||||
CHECK-NEXT: inlined_f
|
||||
CHECK-NEXT: dwarfdump-inl-test.cc:3
|
||||
CHECK-NEXT: main
|
||||
CHECK-NEXT: dwarfdump-inl-test.cc:8
|
Loading…
Reference in New Issue
Block a user