summaryrefslogtreecommitdiff
path: root/test/Linker
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-03-18 02:34:58 +0000
committerAdrian Prantl <aprantl@apple.com>2014-03-18 02:34:58 +0000
commit5e8144df32cad1bf29cf7cc27f53870302826256 (patch)
tree23574e1ab12406a5276e0481a16fed30b1ba0d0e /test/Linker
parent4d82ca74626878ac2739a5532d101f27ef6eddfe (diff)
downloadllvm-5e8144df32cad1bf29cf7cc27f53870302826256.tar.gz
llvm-5e8144df32cad1bf29cf7cc27f53870302826256.tar.bz2
llvm-5e8144df32cad1bf29cf7cc27f53870302826256.tar.xz
Switch the type field in DIVariable and DIGlobalVariable over to DITypeRefs.
This allows us to catch more opportunities for ODR-based type uniquing during LTO. Paired commit with CFE which updates some testcases to verify the new DIBuilder behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker')
-rw-r--r--test/Linker/type-unique-odr-a.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Linker/type-unique-odr-a.ll b/test/Linker/type-unique-odr-a.ll
index 3ab20bfb32..a1b8d28e64 100644
--- a/test/Linker/type-unique-odr-a.ll
+++ b/test/Linker/type-unique-odr-a.ll
@@ -93,6 +93,6 @@ attributes #1 = { nounwind readnone }
!21 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
!22 = metadata !{metadata !"clang version 3.5.0 "}
!23 = metadata !{i32 11, i32 0, metadata !15, null}
-!24 = metadata !{i32 786688, metadata !19, metadata !"a", metadata !16, i32 8, metadata !4, i32 0, i32 0} ; [ DW_TAG_auto_variable ] [a] [line 8]
+!24 = metadata !{i32 786688, metadata !19, metadata !"a", metadata !16, i32 8, metadata !"_ZTS1A", i32 0, i32 0} ; [ DW_TAG_auto_variable ] [a] [line 8]
!25 = metadata !{i32 8, i32 0, metadata !19, null} ; [ DW_TAG_imported_declaration ]
!26 = metadata !{i32 9, i32 0, metadata !19, null}