mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7ff48e374
commit
b7b1abef25
@ -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