diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-14 22:27:36 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-14 22:27:36 +0000 |
commit | 9885469922266d43622af58871253fadfef42d48 (patch) | |
tree | fc06d29b0e8d1b751e25e109086ba0fcfc1ef842 /llvm/test/CodeGen/ARM/debug-frame.ll | |
parent | 96a319588a752c0254f8b214c2454a95855bcac4 (diff) | |
download | bcm5719-llvm-9885469922266d43622af58871253fadfef42d48.tar.gz bcm5719-llvm-9885469922266d43622af58871253fadfef42d48.zip |
IR: Move MDLocation into place
This commit moves `MDLocation`, finishing off PR21433. There's an
accompanying clang commit for frontend testcases. I'll attach the
testcase upgrade script I used to PR21433 to help out-of-tree
frontends/backends.
This changes the schema for `DebugLoc` and `DILocation` from:
!{i32 3, i32 7, !7, !8}
to:
!MDLocation(line: 3, column: 7, scope: !7, inlinedAt: !8)
Note that empty fields (line/column: 0 and inlinedAt: null) don't get
printed by the assembly writer.
llvm-svn: 226048
Diffstat (limited to 'llvm/test/CodeGen/ARM/debug-frame.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/debug-frame.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/ARM/debug-frame.ll b/llvm/test/CodeGen/ARM/debug-frame.ll index 98bbd9783da..16e2c4c59f9 100644 --- a/llvm/test/CodeGen/ARM/debug-frame.ll +++ b/llvm/test/CodeGen/ARM/debug-frame.ll @@ -142,27 +142,27 @@ declare void @_ZSt9terminatev() !11 = !{i32 1, !"Debug Info Version", i32 2} !12 = !{!"clang version 3.5 "} !13 = !{!"0x101\00a\0016777220\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [a] [line 4] -!14 = !{i32 4, i32 0, !4, null} +!14 = !MDLocation(line: 4, scope: !4) !15 = !{!"0x101\00b\0033554436\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [b] [line 4] !16 = !{!"0x101\00c\0050331652\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [c] [line 4] !17 = !{!"0x101\00d\0067108868\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [d] [line 4] !18 = !{!"0x101\00e\0083886084\000", !4, !5, !8} ; [ DW_TAG_arg_variable ] [e] [line 4] !19 = !{!"0x101\00m\00100663301\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [m] [line 5] -!20 = !{i32 5, i32 0, !4, null} +!20 = !MDLocation(line: 5, scope: !4) !21 = !{!"0x101\00n\00117440517\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [n] [line 5] !22 = !{!"0x101\00p\00134217733\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [p] [line 5] !23 = !{!"0x101\00q\00150994949\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [q] [line 5] !24 = !{!"0x101\00r\00167772165\000", !4, !5, !9} ; [ DW_TAG_arg_variable ] [r] [line 5] -!25 = !{i32 7, i32 0, !26, null} +!25 = !MDLocation(line: 7, scope: !26) !26 = !{!"0xb\006\000\000", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/exp.cpp] -!27 = !{i32 8, i32 0, !26, null} -!28 = !{i32 11, i32 0, !26, null} -!29 = !{i32 9, i32 0, !30, null} +!27 = !MDLocation(line: 8, scope: !26) +!28 = !MDLocation(line: 11, scope: !26) +!29 = !MDLocation(line: 9, scope: !30) !30 = !{!"0xb\008\000\001", !1, !4} ; [ DW_TAG_lexical_block ] [/tmp/exp.cpp] -!31 = !{i32 10, i32 0, !30, null} -!32 = !{i32 10, i32 0, !4, null} -!33 = !{i32 11, i32 0, !4, null} -!34 = !{i32 11, i32 0, !30, null} +!31 = !MDLocation(line: 10, scope: !30) +!32 = !MDLocation(line: 10, scope: !4) +!33 = !MDLocation(line: 11, scope: !4) +!34 = !MDLocation(line: 11, scope: !30) ; CHECK-FP-LABEL: _Z4testiiiiiddddd: ; CHECK-FP: .cfi_startproc |