diff options
author | Eric Christopher <echristo@gmail.com> | 2014-01-24 11:40:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-01-24 11:40:29 +0000 |
commit | a268ba84d7f3a4625e5ff8294e81f17e4ba9b9a1 (patch) | |
tree | bae6ab067edbd6c8f1e834857c8c74e68dabaf59 /test/DebugInfo | |
parent | 45cd8c8ac17e27d9a26a7bea3788b1560aac4d6b (diff) | |
download | llvm-a268ba84d7f3a4625e5ff8294e81f17e4ba9b9a1.tar.gz llvm-a268ba84d7f3a4625e5ff8294e81f17e4ba9b9a1.tar.bz2 llvm-a268ba84d7f3a4625e5ff8294e81f17e4ba9b9a1.tar.xz |
Use DW_AT_high_pc and DW_AT_low_pc for the high and low pc for a
compile unit. Make these relocations on the platforms that need
relocations and add a routine to ensure that we don't put the
addresses in an offset table for split dwarf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/X86/concrete_out_of_line.ll | 6 | ||||
-rw-r--r-- | test/DebugInfo/X86/fission-cu.ll | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/test/DebugInfo/X86/concrete_out_of_line.ll b/test/DebugInfo/X86/concrete_out_of_line.ll index 4a152963a1..ce82c7a6c7 100644 --- a/test/DebugInfo/X86/concrete_out_of_line.ll +++ b/test/DebugInfo/X86/concrete_out_of_line.ll @@ -7,15 +7,15 @@ ; first check that we have a TAG_subprogram at a given offset and it has ; AT_inline. -; CHECK: 0x0000011c: DW_TAG_subprogram [17] +; CHECK: 0x00000124: DW_TAG_subprogram [17] ; CHECK-NEXT: DW_AT_specification ; CHECK-NEXT: DW_AT_inline ; and then that a TAG_subprogram refers to it with AT_abstract_origin. -; CHECK: 0x0000015d: DW_TAG_subprogram [19] -; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x011c => {0x0000011c}) +; CHECK: 0x00000165: DW_TAG_subprogram [19] +; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x0124 => {0x00000124}) define i32 @_ZN17nsAutoRefCnt7ReleaseEv() { entry: diff --git a/test/DebugInfo/X86/fission-cu.ll b/test/DebugInfo/X86/fission-cu.ll index 1af7f97b31..ccdbb6e918 100644 --- a/test/DebugInfo/X86/fission-cu.ll +++ b/test/DebugInfo/X86/fission-cu.ll @@ -109,6 +109,8 @@ ; OBJ-NEXT: R_X86_64_32 .debug_str ; OBJ-NEXT: R_X86_64_32 .debug_addr ; OBJ-NEXT: R_X86_64_32 .debug_str +; OBJ-NEXT: R_X86_64_64 .text 0x0 +; OBJ-NEXT: R_X86_64_64 .text 0x0 ; OBJ-NEXT: } ; OBJ: .debug_aranges ; OBJ-NEXT: R_X86_64_32 .debug_info 0x0 |