summaryrefslogtreecommitdiff
path: root/test/Linker/type-unique-odr-a.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-14 22:27:36 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-14 22:27:36 +0000
commit37ac8d3622407cf5fd974407c5b8b301a2fdfcfd (patch)
tree63d9eadf7bbfd65d3a10a8e5c9e0f15f244f17e4 /test/Linker/type-unique-odr-a.ll
parentde8202b0840dcd5c58b9d17d751ef9bf9215892c (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/type-unique-odr-a.ll')
-rw-r--r--test/Linker/type-unique-odr-a.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Linker/type-unique-odr-a.ll b/test/Linker/type-unique-odr-a.ll
index 8cf1dd5a32a..900b0359264 100644
--- a/test/Linker/type-unique-odr-a.ll
+++ b/test/Linker/type-unique-odr-a.ll
@@ -96,7 +96,7 @@ attributes #1 = { nounwind readnone }
!20 = !{i32 2, !"Dwarf Version", i32 4}
!21 = !{i32 1, !"Debug Info Version", i32 2}
!22 = !{!"clang version 3.5.0 "}
-!23 = !{i32 11, i32 0, !15, null}
+!23 = !MDLocation(line: 11, scope: !15)
!24 = !{!"0x100\00a\008\000", !19, !16, !"_ZTS1A"} ; [ DW_TAG_auto_variable ] [a] [line 8]
-!25 = !{i32 8, i32 0, !19, null}
-!26 = !{i32 9, i32 0, !19, null}
+!25 = !MDLocation(line: 8, scope: !19)
+!26 = !MDLocation(line: 9, scope: !19)