Add support for small-model PIC for PowerPC.
[oota-llvm.git] / test / CodeGen / PowerPC / stack-protector.ll
index 810630f6978f0f7ff27c406c87b31232c4bd5c01..b81d94181cdf61c07dfcd3850b1f03cfca4083f6 100644 (file)
@@ -1,5 +1,6 @@
-; RUN: llc -march=ppc32 < %s -o - | grep "__stack_chk_guard"
-; RUN: llc -march=ppc32 < %s -o - | grep "__stack_chk_fail"
+; RUN: llc -march=ppc32 -mtriple=ppc32-unknown-linux < %s | FileCheck %s
+; CHECK: __stack_chk_guard
+; CHECK: __stack_chk_fail
 
 @"\01LC" = internal constant [11 x i8] c"buf == %s\0A\00"              ; <[11 x i8]*> [#uses=1]