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
Showing
- test/CodeGen/lineno-dbginfo.c 1 addition, 1 deletiontest/CodeGen/lineno-dbginfo.c
- test/Parser/altivec-csk-bool.c 1 addition, 1 deletiontest/Parser/altivec-csk-bool.c
- test/Preprocessor/header_lookup1.c 1 addition, 1 deletiontest/Preprocessor/header_lookup1.c
- test/Sema/attr-malloc.c 2 additions, 2 deletionstest/Sema/attr-malloc.c
- test/Sema/i-c-e.c 1 addition, 1 deletiontest/Sema/i-c-e.c
- test/Sema/shift.c 1 addition, 1 deletiontest/Sema/shift.c
Please register or sign in to comment