From: Diego Novillo Date: Wed, 16 Apr 2014 19:02:35 +0000 (+0000) Subject: Fix check failure on hexagon targets. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e00744666c73989ad6c86787831eb43ee39bb8d;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206412 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Frontend/optimization-remark.c b/test/Frontend/optimization-remark.c index d5345b546a..53edeed4f0 100644 --- a/test/Frontend/optimization-remark.c +++ b/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));