From e7147c1b577d63fb21a623b600afeb10093e5549 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 6 Mar 2014 22:21:43 +0000 Subject: [PATCH] Convert test to FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203173 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/darwin-no-dead-strip.ll | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/darwin-no-dead-strip.ll b/test/CodeGen/X86/darwin-no-dead-strip.ll index 452d1f8ce39..edbd8aaa067 100644 --- a/test/CodeGen/X86/darwin-no-dead-strip.ll +++ b/test/CodeGen/X86/darwin-no-dead-strip.ll @@ -1,7 +1,9 @@ -; RUN: llc < %s | grep no_dead_strip +; RUN: llc < %s | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-apple-darwin8.7.2" -@x = weak global i32 0 ; [#uses=1] -@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ] ; <[1 x i8*]*> [#uses=0] +@x = weak global i32 0 +; CHECK: .no_dead_strip _x + +@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ] -- 2.34.1