[llvm-branch-commits] [llvm-branch] r134510 - /llvm/branches/type-system-rewrite/test/Linker/unnamed-addr1-a.ll
Chris Lattner
sabre at nondot.org
Wed Jul 6 10:51:18 PDT 2011
Author: lattner
Date: Wed Jul 6 12:51:18 2011
New Revision: 134510
URL: http://llvm.org/viewvc/llvm-project?rev=134510&view=rev
Log:
Tweak this test to expect that unnamed_addr always follows the source value being
linked. All linker tests pass now.
Modified:
llvm/branches/type-system-rewrite/test/Linker/unnamed-addr1-a.ll
Modified: llvm/branches/type-system-rewrite/test/Linker/unnamed-addr1-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Linker/unnamed-addr1-a.ll?rev=134510&r1=134509&r2=134510&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Linker/unnamed-addr1-a.ll (original)
+++ llvm/branches/type-system-rewrite/test/Linker/unnamed-addr1-a.ll Wed Jul 6 12:51:18 2011
@@ -10,15 +10,15 @@
@c = common unnamed_addr global i32 0
; CHECK: @c = common unnamed_addr global i32 0
@d = external global i32
-; CHECK: @d = global i32 42
+; CHECK: @d = unnamed_addr global i32 42
@e = external unnamed_addr global i32
; CHECK: @e = unnamed_addr global i32 42
@f = weak global i32 42
-; CHECK: @f = global i32 42
+; CHECK: @f = unnamed_addr global i32 42
; Other file has non-unnamed_addr definition
@g = common unnamed_addr global i32 0
-; CHECK: @g = common global i32 0
+; CHECK: @g = common unnamed_addr global i32 0
@h = external global i32
; CHECK: @h = global i32 42
@i = external unnamed_addr global i32
More information about the llvm-branch-commits
mailing list