mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555.
llvm-svn: 193711
This commit is contained in:
parent
f608b07c6f
commit
da0e56a8a1
@ -13,3 +13,6 @@ int main() {
|
||||
// $ cp dwarfdump-inl-test.* /tmp/dbginfo
|
||||
// $ cd /tmp/dbginfo
|
||||
// $ clang++ -O2 -gline-tables-only -fsanitize=address -fPIC -shared dwarfdump-inl-test.cc -o <output>
|
||||
//
|
||||
// And similarly with with gcc 4.8.2:
|
||||
// $ gcc dwarfdump-inl-test.cc -o dwarfdump-inl-test.high_pc.elf-x86-64 -g -O2 -fPIC -shared
|
||||
|
BIN
test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64
Executable file
BIN
test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64
Executable file
Binary file not shown.
@ -3,6 +3,7 @@ RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64.debuglink 0x400559" >> %t.input
|
||||
RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400436" >> %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: echo "%p/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64 0x568" >> %t.input
|
||||
RUN: echo "\"%p/Inputs/dwarfdump-test3.elf-x86-64 space\" 0x633" >> %t.input
|
||||
RUN: echo "%p/Inputs/macho-universal 0x1f84" >> %t.input
|
||||
RUN: echo "%p/Inputs/macho-universal:i386 0x1f67" >> %t.input
|
||||
@ -31,6 +32,15 @@ CHECK-NEXT: dwarfdump-inl-test.cc:3
|
||||
CHECK-NEXT: main
|
||||
CHECK-NEXT: dwarfdump-inl-test.cc:
|
||||
|
||||
CHECK: inlined_h
|
||||
CHECK-NEXT: dwarfdump-inl-test.h:3
|
||||
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:
|
||||
|
||||
CHECK: _Z3do1v
|
||||
CHECK-NEXT: dwarfdump-test3-decl.h:7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user