summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/optimization-remark.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-04-16 19:02:35 +0000
committerDiego Novillo <dnovillo@google.com>2014-04-16 19:02:35 +0000
commit17b2a1b4b0722d9f4588bb4d862e0f756653ecee (patch)
treeb14020225f592b9c8eb677ae892e927ba1e4643e /clang/test/Frontend/optimization-remark.c
parentc7479608556daa7877689cf4e38474e43cd881d3 (diff)
downloadbcm5719-llvm-17b2a1b4b0722d9f4588bb4d862e0f756653ecee.tar.gz
bcm5719-llvm-17b2a1b4b0722d9f4588bb4d862e0f756653ecee.zip
Fix check failure on hexagon targets.
This test was failing because there is no assembler for hexagon-elf on this buildbot: http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/10470 Fixed by adding -S to the driver invocation. llvm-svn: 206412
Diffstat (limited to 'clang/test/Frontend/optimization-remark.c')
-rw-r--r--clang/test/Frontend/optimization-remark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Frontend/optimization-remark.c b/clang/test/Frontend/optimization-remark.c
index d5345b546a5..53edeed4f0e 100644
--- a/clang/test/Frontend/optimization-remark.c
+++ b/clang/test/Frontend/optimization-remark.c
@@ -2,10 +2,10 @@
// designed to always trigger the inliner, so it should be independent
// of the optimization level.
-// RUN: %clang -c %s -Rpass=inline -O0 -gline-tables-only -o /dev/null 2> %t.err
+// RUN: %clang -c %s -Rpass=inline -O0 -gline-tables-only -S -o /dev/null 2> %t.err
// RUN: FileCheck < %t.err %s --check-prefix=INLINE
-// RUN: %clang -c %s -Rpass=inline -O0 -o /dev/null 2> %t.err
+// RUN: %clang -c %s -Rpass=inline -O0 -S -o /dev/null 2> %t.err
// RUN: FileCheck < %t.err %s --check-prefix=INLINE-NO-LOC
int foo(int x, int y) __attribute__((always_inline));
OpenPOWER on IntegriCloud