]> granicus.if.org Git - clang/commitdiff
Fix check failure on hexagon targets.
authorDiego Novillo <dnovillo@google.com>
Wed, 16 Apr 2014 19:02:35 +0000 (19:02 +0000)
committerDiego Novillo <dnovillo@google.com>
Wed, 16 Apr 2014 19:02:35 +0000 (19:02 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206412 91177308-0d34-0410-b5e6-96231b3b80d8

test/Frontend/optimization-remark.c

index d5345b546a5af670845039a33e119c5558dc09a1..53edeed4f0ef6174c19b18dfc8587c6547ca14cb 100644 (file)
@@ -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));