update test to check that codegen works with llvm.used in llvm.metadata section
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 22 Aug 2007 19:36:31 +0000 (19:36 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 22 Aug 2007 19:36:31 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41289 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/no-dead-strip.ll

index 272fa1830d52a5df13773e341c6f5f283c3d43bb..e7ceaaeab67811e36300263ec4df61ef52d99b1b 100644 (file)
@@ -4,5 +4,5 @@ target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f3
 target triple = "powerpc-apple-darwin8.8.0"
 @X = weak global i32 0          ; <i32*> [#uses=1]
 @.str = internal constant [4 x i8] c"t.c\00", section "llvm.metadata"          ; <[4 x i8]*> [#uses=1]
-@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @X to i8*) ]       ; <[1 x i8*]*> [#uses=0]
+@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @X to i8*) ], section "llvm.metadata"       ; <[1 x i8*]*> [#uses=0]