summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/enum-class.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-07-27 22:00:05 +0000
committerEric Christopher <echristo@apple.com>2012-07-27 22:00:05 +0000
commitc23b933d5f8be9b51a1d22e717c0311f65f87dcd (patch)
tree13941b9277e77b70fea5995ede4c4b98ca29c07e /test/DebugInfo/X86/enum-class.ll
parentc16bf79303ad8c84c5dd3c76e143cd2145539834 (diff)
downloadllvm-c23b933d5f8be9b51a1d22e717c0311f65f87dcd.tar.gz
llvm-c23b933d5f8be9b51a1d22e717c0311f65f87dcd.tar.bz2
llvm-c23b933d5f8be9b51a1d22e717c0311f65f87dcd.tar.xz
Add a DW_AT_high_pc for CUs that are a single address range. Update
all tests accordingly. Fixes PR13351. Patch by shinichiro hamaji! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/enum-class.ll')
-rw-r--r--test/DebugInfo/X86/enum-class.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/enum-class.ll b/test/DebugInfo/X86/enum-class.ll
index 6eb715d828..aa0b2d0880 100644
--- a/test/DebugInfo/X86/enum-class.ll
+++ b/test/DebugInfo/X86/enum-class.ll
@@ -31,12 +31,12 @@
!21 = metadata !{i32 786484, i32 0, null, metadata !"c", metadata !"c", metadata !"", metadata !4, i32 6, metadata !12, i32 0, i32 1, i32* @c} ; [ DW_TAG_variable ]
; CHECK: DW_TAG_enumeration_type [3]
-; CHECK: DW_AT_type [DW_FORM_ref4] (cu + 0x0026 => {0x00000026})
+; CHECK: DW_AT_type [DW_FORM_ref4] (cu + 0x002e => {0x0000002e})
; CHECK: DW_AT_enum_class [DW_FORM_flag] (0x01)
; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "A")
; CHECK: DW_TAG_enumeration_type [3] *
-; CHECK: DW_AT_type [DW_FORM_ref4] (cu + 0x0057 => {0x00000057})
+; CHECK: DW_AT_type [DW_FORM_ref4] (cu + 0x005f => {0x0000005f})
; CHECK: DW_AT_enum_class [DW_FORM_flag] (0x01)
; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "B")