summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-02-29 20:25:10 +0000
committerAdrian Prantl <aprantl@apple.com>2016-02-29 20:25:10 +0000
commitc0a85eca6c55dfa037b0d19c47b32dac7c9a8787 (patch)
treeae4209565b0ff1ece3728471e6ef04e0cb0b2ac9 /llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
parentf5ba61d18cfae11f40ea6fd494c30b76c8494d4d (diff)
downloadbcm5719-llvm-c0a85eca6c55dfa037b0d19c47b32dac7c9a8787.tar.gz
bcm5719-llvm-c0a85eca6c55dfa037b0d19c47b32dac7c9a8787.zip
Fixup MIPS testcase after r262247 and make it a little more robust.
llvm-svn: 262249
Diffstat (limited to 'llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll')
-rw-r--r--llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll25
1 files changed, 15 insertions, 10 deletions
diff --git a/llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll b/llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
index ee98272859a..8f10cd92333 100644
--- a/llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
+++ b/llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll
@@ -22,13 +22,15 @@ declare void @llvm.lifetime.end(i64, i8* nocapture)
declare void @foo(i32*)
-; F0: DW_AT_location [DW_FORM_sec_offset] (0x00000014)
-; F0: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000006b] = "x")
+; F0: DW_AT_name {{.*}}"e"
+; F0: DW_TAG_variable
+; F0-NEXT: DW_AT_location [DW_FORM_sec_offset] ([[LOC:.*]])
+; F0-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000006b] = "x")
;
; x -> DW_OP_reg1(51)
-; F0: 0x00000014: Beginning address offset: 0x0000000000000028
-; F0: Ending address offset: 0x0000000000000030
-; F0: Location description: 51
+; F0: [[LOC]]: Beginning address offset: 0x0000000000000028
+; F0: Ending address offset: 0x0000000000000030
+; F0: Location description: 51
define i32 @f0(i32 signext %a, i32 signext %b, i32 signext %c, i32 signext %d, i32 signext %e) !dbg !4 {
entry:
@@ -55,13 +57,16 @@ entry:
}
-; F1: DW_AT_location [DW_FORM_sec_offset] (0x00000033)
-; F1: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000006b] = "x")
+; F1: DW_AT_name {{.*}}"x"
+; F1: DW_AT_name {{.*}}"e"
+; F1: DW_TAG_variable
+; F1-NEXT: DW_AT_location [DW_FORM_sec_offset] ([[LOC:.*]])
+; F1-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000006b] = "x")
; x -> DW_OP_reg1(51)
-; F1: 0x00000033: Beginning address offset: 0x0000000000000080
-; F1: Ending address offset: 0x0000000000000088
-; F1: Location description: 51
+; F1: [[LOC]]: Beginning address offset: 0x0000000000000080
+; F1: Ending address offset: 0x0000000000000088
+; F1: Location description: 51
define i32 @f1(i32 signext %a, i32 signext %b, i32 signext %c, i32 signext %d, i32 signext %e) !dbg !15 {
entry:
OpenPOWER on IntegriCloud