]> granicus.if.org Git - clang/commit
Move a bunch of tests to directly use the CC1 layer. This at least saves
authorChandler Carruth <chandlerc@gmail.com>
Wed, 15 Jan 2014 09:08:07 +0000 (09:08 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 15 Jan 2014 09:08:07 +0000 (09:08 +0000)
commitbeab85a1e8f0e94202701ba1935596038b77fe4a
tree7c8b69e0940eee8663d02a196fad9635fc7c2bc2
parent254052a00dd24ffdd2d106ebc8c3da1e5cdde42e
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
test/CodeGen/lineno-dbginfo.c
test/Parser/altivec-csk-bool.c
test/Preprocessor/header_lookup1.c
test/Sema/attr-malloc.c
test/Sema/i-c-e.c
test/Sema/shift.c