| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- I didn't implement the GCC "multiple include guard" detection parts, because
it doesn't seem useful or obvious.
llvm-svn: 111983
|
|
|
|
| |
llvm-svn: 110544
|
|
|
|
|
|
| |
Fixes PR4897.
llvm-svn: 110440
|
|
|
|
|
|
| |
assume we are targetting OS X unless an explicit option is given.
llvm-svn: 108426
|
|
|
|
| |
llvm-svn: 106144
|
|
|
|
| |
llvm-svn: 106026
|
|
|
|
| |
llvm-svn: 105830
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This magically enables using 'clang -cc1' as a replacement for most of 'llvm-as', 'llvm-dis', 'llc' and 'opt' functionality.
For example, 'llvm-as' is:
$ clang -cc1 -emit-llvm-bc FOO.ll -o FOO.bc
and 'llvm-dis' is:
$ clang -cc1 -emit-llvm FOO.bc -o -
and 'opt' is, e.g.:
$ clang -cc1 -emit-llvm -O3 -o FOO.opt.ll FOO.ll
and 'llc' is, e.g.:
$ clang -cc1 -S -o - FOO.ll
The nice thing about using the backend tools this way is that they are guaranteed to exactly match how the compiler generates code (for example, setting the same backend options).
llvm-svn: 105583
|
|
|
|
| |
llvm-svn: 93088
|
|
|
|
|
|
|
| |
clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to
garbage).
llvm-svn: 91460
|
|
|
|
|
|
|
|
|
| |
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
|
|
|
|
| |
llvm-svn: 90122
|
|
|
|
|
|
| |
output file failed.
llvm-svn: 89502
|
|
|
|
| |
llvm-svn: 86432
|
|
|
|
|
|
| |
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
llvm-svn: 86430
|
|
|
|
| |
llvm-svn: 86134
|
|
|
|
| |
llvm-svn: 85908
|
|
|
|
|
|
| |
-miphoneos-version-min.
llvm-svn: 85601
|
|
|
|
| |
llvm-svn: 85132
|
|
|
|
| |
llvm-svn: 82526
|
|
|
|
| |
llvm-svn: 82437
|
|
|
|
|
|
|
|
| |
- Currently this requires us to fake an input file.
- This allows Sema to be keep all the logic for how to pull decls out of the external AST source and how to handle things like tentative definitions.
llvm-svn: 82432
|
|
|
|
|
|
|
|
| |
- Doesn't actually work yet because only module level asm's get correctly marked as externally visible in the PCH.
- Other things like 'clang-cc foo.ast -ast-dump' now work, as well.
llvm-svn: 82107
|
|
|
|
|
|
|
|
| |
- This is just to normalize, these will go away soon hopefully.
Added all the missing '&&'s that have crept in. :)
llvm-svn: 77062
|
|
|
|
| |
llvm-svn: 77057
|
|
|
|
|
|
| |
- <rdar://problem/6945384> Driver should pass down -C and -CC
llvm-svn: 73087
|
|
|
|
| |
llvm-svn: 68831
|
|
|
|
| |
llvm-svn: 68829
|
|
|
|
| |
llvm-svn: 68817
|
|
|
|
| |
llvm-svn: 68042
|
|
|
|
|
|
|
|
| |
- Not particularly elegant, but my hand is forced by gcc.
Also, tweak -ccc-print-bindings output.
llvm-svn: 68027
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rip out various bits of logic from clang-cc's dependency file gen,
force driver to provide instead.
- -MD output now goes to proper location
<rdar://problem/6723948> clang -MD puts dep file in /tmp with wrong name
- -M and -MM still don't work correctly.
llvm-svn: 68022
|
|
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
|
|
|
| |
llvm-svn: 67483
|
|
|
|
| |
llvm-svn: 67455
|
|
|
|
|
|
|
|
|
|
| |
- PR3854.
I think it makes more sense to change MemoryBuffer::getSTDIN (return 0
should indicate error, not empty), but it is documented to return 0
for empty inputs, and some other code appears to rely on this.
llvm-svn: 67448
|
|
driver taking lib/Driver.
llvm-svn: 65811
|