summaryrefslogtreecommitdiff
path: root/test/CodeGen/lineno-dbginfo.c
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-15 09:08:07 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-15 09:08:07 +0000
commitbeab85a1e8f0e94202701ba1935596038b77fe4a (patch)
tree7c8b69e0940eee8663d02a196fad9635fc7c2bc2 /test/CodeGen/lineno-dbginfo.c
parent254052a00dd24ffdd2d106ebc8c3da1e5cdde42e (diff)
downloadclang-beab85a1e8f0e94202701ba1935596038b77fe4a.tar.gz
Move a bunch of tests to directly use the CC1 layer. This at least saves
a subprocess invocation which is pretty significant on Windows. It also likely saves a bunch of thrashing the host machine needlessly. Finally it makes the tests much more predictable and less dependent on the host. For example 'header_lookup1.c' was passing '-fno-ms-extensions' just to thwart the host detection adding it into the compilation. By runnig CC1 directly we don't have to deal with such oddities. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/lineno-dbginfo.c')
-rw-r--r--test/CodeGen/lineno-dbginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/lineno-dbginfo.c b/test/CodeGen/lineno-dbginfo.c
index 72fa337eaf..1f9b7a569e 100644
--- a/test/CodeGen/lineno-dbginfo.c
+++ b/test/CodeGen/lineno-dbginfo.c
@@ -1,5 +1,5 @@
// RUN: echo "#include <stddef.h>" > %t.h
-// RUN: %clang -S -g -include %t.h %s -emit-llvm -o %t.ll
+// RUN: %clang_cc1 -S -g -include %t.h %s -emit-llvm -o %t.ll
// RUN: grep "i32 5" %t.ll
// outer is at line number 5.
int outer = 42;