summaryrefslogtreecommitdiffstats
path: root/test/Transforms/StripSymbols
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-01 13:57:25 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-01 13:57:25 +0000
commitfbfb1b286f08cd48e55b1284879a95f75ec964f6 (patch)
tree795d8614077fd81b061921edb5676f01bc2fad9f /test/Transforms/StripSymbols
parenta6fdcaace8df9ee8bf54c568a89efa1228172d65 (diff)
downloadexternal_llvm-fbfb1b286f08cd48e55b1284879a95f75ec964f6.zip
external_llvm-fbfb1b286f08cd48e55b1284879a95f75ec964f6.tar.gz
external_llvm-fbfb1b286f08cd48e55b1284879a95f75ec964f6.tar.bz2
Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
This is done to avoid odd test failures, like the one fixed in r171243. My previous regex was not good enough to find these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/StripSymbols')
-rw-r--r--test/Transforms/StripSymbols/block-address.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/StripSymbols/block-address.ll b/test/Transforms/StripSymbols/block-address.ll
index d22c6b1..113d4d9 100644
--- a/test/Transforms/StripSymbols/block-address.ll
+++ b/test/Transforms/StripSymbols/block-address.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -strip -S | FileCheck %s
+; RUN: opt -strip -S < %s | FileCheck %s
; PR10286
@main_addrs = constant [2 x i8*] [i8* blockaddress(@f, %FOO), i8* blockaddress(@f, %BAR)]