2014-03-07 06:21:43 +08:00
|
|
|
; RUN: llc < %s | FileCheck %s
|
2006-09-26 11:44:20 +08:00
|
|
|
|
2008-02-21 15:42:26 +08:00
|
|
|
target datalayout = "e-p:32:32"
|
2006-09-26 11:44:20 +08:00
|
|
|
target triple = "i686-apple-darwin8.7.2"
|
2008-02-21 15:42:26 +08:00
|
|
|
|
2014-03-07 06:21:43 +08:00
|
|
|
@x = weak global i32 0
|
|
|
|
; CHECK: .no_dead_strip _x
|
|
|
|
|
2014-03-07 06:47:08 +08:00
|
|
|
@"\01Ly" = private global i8 0
|
|
|
|
; CHECK: no_dead_strip Ly
|
|
|
|
|
|
|
|
@llvm.used = appending global [2 x i8*] [ i8* bitcast (i32* @x to i8*),
|
|
|
|
i8* @"\01Ly" ]
|