Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ccc: Pass -P to clang. | Daniel Dunbar | 2009-02-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 64578 | |||||
* | Add -ffreestanding to suppress the implicit declaration of library builtins ↵ | Douglas Gregor | 2009-02-14 | 1 | -0/+1 | |
| | | | | | | like printf and malloc. Fixes PR3586 llvm-svn: 64566 | |||||
* | ccc: Suffix for PCH files is appended, not replaced. (Test case) | Daniel Dunbar | 2009-02-13 | 1 | -4/+4 | |
| | | | | llvm-svn: 64467 | |||||
* | ccc: Suffix for PCH files is appended, not replaced. | Daniel Dunbar | 2009-02-13 | 2 | -5/+9 | |
| | | | | llvm-svn: 64466 | |||||
* | ccc: Test case for transparent PTH support. | Daniel Dunbar | 2009-02-13 | 1 | -0/+5 | |
| | | | | llvm-svn: 64420 | |||||
* | ccc: Stop patching output file name when using transparent PTH support. | Daniel Dunbar | 2009-02-13 | 1 | -14/+5 | |
| | | | | | | <rdar://problem/6515236> [ccc] generate expected output files when used with PCH llvm-svn: 64419 | |||||
* | Always pass -disable-free to clang when compiling. | Daniel Dunbar | 2009-02-13 | 1 | -0/+6 | |
| | | | | llvm-svn: 64416 | |||||
* | One more tweak to account for gluing together llvm and clang into one. | Mike Stump | 2009-02-11 | 1 | -0/+1 | |
| | | | | llvm-svn: 64276 | |||||
* | More version experimentation. | Mike Stump | 2009-02-11 | 1 | -1/+4 | |
| | | | | llvm-svn: 64271 | |||||
* | Run a little experiment with version numbers. | Mike Stump | 2009-02-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 64268 | |||||
* | ccc: -dM wasn't being passed to Darwin/CC1 correctly. | Daniel Dunbar | 2009-02-09 | 1 | -6/+0 | |
| | | | | llvm-svn: 64169 | |||||
* | ccc: Forward -dM to clang. | Daniel Dunbar | 2009-02-06 | 2 | -0/+3 | |
| | | | | llvm-svn: 63955 | |||||
* | ccc/Darwin: Add a missing Darwin argument translation, -shared becomes | Daniel Dunbar | 2009-02-06 | 2 | -0/+9 | |
| | | | | | | | -dynamiclib. Re-audited translations to make sure I didn't miss something else. llvm-svn: 63953 | |||||
* | ccc: Give explicit error on @ style argument lists (not yet supported). | Daniel Dunbar | 2009-02-06 | 1 | -1/+3 | |
| | | | | llvm-svn: 63903 | |||||
* | ccc: Implement special language recognition handling for -. | Daniel Dunbar | 2009-02-05 | 2 | -14/+32 | |
| | | | | | | - <rdar://problem/6551577> [ccc] require -x with - llvm-svn: 63901 | |||||
* | ccc: Translate -O to -O1 for clang, and only pass last -O option. | Daniel Dunbar | 2009-02-05 | 2 | -1/+12 | |
| | | | | llvm-svn: 63816 | |||||
* | ccc: Forward -femit-all-decls to clang and use an option group to | Daniel Dunbar | 2009-02-04 | 2 | -25/+15 | |
| | | | | | | simplify handling of -f options clang recognizes. llvm-svn: 63778 | |||||
* | ccc: -ObjC and -ObjC++ change default language, but only for "source | Daniel Dunbar | 2009-02-04 | 2 | -0/+20 | |
| | | | | | | files". llvm-svn: 63727 | |||||
* | Use /usr/bin/env to run Python for increased portability. Patch by | Daniel Dunbar | 2009-02-03 | 1 | -1/+1 | |
| | | | | | | David Chisnall. llvm-svn: 63661 | |||||
* | Add -fno-blocks support. This fixes block-no-block-def.c. | Mike Stump | 2009-01-30 | 2 | -2/+8 | |
| | | | | llvm-svn: 63385 | |||||
* | ccc: Forward -fobjc-nonfragile-abi to clang. | Daniel Dunbar | 2009-01-30 | 2 | -0/+2 | |
| | | | | llvm-svn: 63378 | |||||
* | ccc: Add -Xclang option, rename -WA, to -Xanalyzer. | Daniel Dunbar | 2009-01-30 | 4 | -5/+13 | |
| | | | | | | | | | - -Xclang always forwards to clang - -Xanalyzer replaces -WA,; it seems like the cleaner mechanism and is more readable. llvm-svn: 63349 | |||||
* | ccc: Mark -combine option as unsupported. | Daniel Dunbar | 2009-01-30 | 2 | -5/+1 | |
| | | | | llvm-svn: 63348 | |||||
* | ccc: Embrace destiny as a clang compiler driver. | Daniel Dunbar | 2009-01-29 | 11 | -52/+93 | |
| | | | | | | | | | | | | | | | | | | | | | This redoes the default mode that ccc runs in w.r.t. using clang. Now ccc defaults to always using clang for any task clang can handle. However, the following options exist to tweak this behavior: -ccc-no-clang: Don't use clang at all for compilation (still used for static analysis). -ccc-no-clang-cxx: Don't use clang for C++ and Objective-C++ inputs. -ccc-no-clang-cpp: Don't use clang as a preprocessor. -ccc-clang-archs <archs>: If present, only use clang for the given comma separated list of architectures. This only works on Darwin for now. Note that all -ccc options must be first on the command line. llvm-svn: 63346 | |||||
* | ccc: Honor -ccc-clang for generic GCC toolchain. | Daniel Dunbar | 2009-01-29 | 2 | -7/+24 | |
| | | | | llvm-svn: 63277 | |||||
* | Fix test case (for -### printing version) | Daniel Dunbar | 2009-01-28 | 1 | -3/+3 | |
| | | | | llvm-svn: 63223 | |||||
* | ccc: Support -v; invent a version number for ccc for now, will be | Daniel Dunbar | 2009-01-28 | 2 | -9/+21 | |
| | | | | | | shared with clang eventually. llvm-svn: 63220 | |||||
* | ccc/Darwin/clang: Fix a mistranslation for the llvm-backend; llvm-gcc | Daniel Dunbar | 2009-01-27 | 2 | -2/+19 | |
| | | | | | | doesn't set the relocation model when -mdynamic-no-pic is present. llvm-svn: 63129 | |||||
* | ccc: Normalize machine name to i386 for platforms which report the | Daniel Dunbar | 2009-01-27 | 1 | -0/+2 | |
| | | | | | | machine as x86_64. llvm-svn: 63122 | |||||
* | ccc: -o should not be automatically forwarded to generic gcc tools. | Daniel Dunbar | 2009-01-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 63015 | |||||
* | ccc: Recognize -emit-llvm [-S]. | Daniel Dunbar | 2009-01-26 | 6 | -16/+50 | |
| | | | | | | | - Unlike llvm-gcc, this doesn't yet treat -emit-llvm output as a linker input. llvm-svn: 63014 | |||||
* | ccc: Finish definition of long argument translations. | Daniel Dunbar | 2009-01-23 | 2 | -8/+42 | |
| | | | | | | | | - However, these last ones do not actually work; the issue is that they translate to batches of options and need to be reparsed. For now we just give an unsupported error on them. llvm-svn: 62872 | |||||
* | ccc: Another batch of long argument translations. | Daniel Dunbar | 2009-01-23 | 1 | -5/+69 | |
| | | | | | | - Again turned up a few which don't do anything sensible. llvm-svn: 62870 | |||||
* | ccc: Implement long options which take joined & separate forms. | Daniel Dunbar | 2009-01-23 | 1 | -8/+55 | |
| | | | | llvm-svn: 62841 | |||||
* | ccc: Support long ('--...') flag arguments. | Daniel Dunbar | 2009-01-23 | 3 | -9/+57 | |
| | | | | | | | - Curiously, a number of the current translations gcc does appear to be useless? llvm-svn: 62831 | |||||
* | ccc: Organize long options together. | Daniel Dunbar | 2009-01-23 | 1 | -40/+30 | |
| | | | | llvm-svn: 62829 | |||||
* | ccc: Add support for several more aliases (--ansi, --assemble, | Daniel Dunbar | 2009-01-23 | 2 | -2/+41 | |
| | | | | | | | | | --assert, --classpath). - Requires providing some option parameters to over-ride rendering in order to match gcc. There may be a cleaner way to do this (probably by introducing a new option type for long JoinedOrSeparate forms). llvm-svn: 62825 | |||||
* | ccc: Darwin/x86/link: Fix a few incompatibilities with gcc (missed | Daniel Dunbar | 2009-01-23 | 1 | -6/+7 | |
| | | | | | | | forwarding -s to linker, and was only taking last arg in some cases when should have been taking all). llvm-svn: 62824 | |||||
* | ccc: Add support for "alias" options. | Daniel Dunbar | 2009-01-23 | 1 | -11/+36 | |
| | | | | | | | | | - Unlike groups (which gather distinct but related options), aliases are for options like '--all-warnings' which are effectively treated like some other option ('-Wall') both in the driver logic and when passing to tools. llvm-svn: 62820 | |||||
* | ccc: Fix typo; isn't dynamic typing fun! | Daniel Dunbar | 2009-01-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 62817 | |||||
* | ccc: Bug fix, driver logic was allowing child jobs to pipe output when | Daniel Dunbar | 2009-01-22 | 2 | -3/+6 | |
| | | | | | | parent wasn't expecting it. llvm-svn: 62811 | |||||
* | ccc/clang: Mimic llvm-gcc initialization of LLVM backend based on gcc | Daniel Dunbar | 2009-01-22 | 2 | -2/+66 | |
| | | | | | | options (for example, to set relocation model or enable unwind table generation). llvm-svn: 62740 | |||||
* | ccc: Handle a few long argument form (--) translations using option | Daniel Dunbar | 2009-01-21 | 2 | -24/+27 | |
| | | | | | | groups, and fix misdeclaration of some -W options. llvm-svn: 62702 | |||||
* | ccc: Add appropriate file search prefixes when on x86_64 Darwin, and | Daniel Dunbar | 2009-01-21 | 2 | -8/+12 | |
| | | | | | | look for crt3.o appropriately. llvm-svn: 62694 | |||||
* | ccc: Implement file & path searching. | Daniel Dunbar | 2009-01-21 | 4 | -40/+64 | |
| | | | | | | | | - Toolchain is responsible for providing list of prefixes to search. - Implement -print-file-name=xxx and -print-prog-name=xxx driver options. llvm-svn: 62659 | |||||
* | ccc: Add --analyze test case. | Daniel Dunbar | 2009-01-21 | 1 | -0/+7 | |
| | | | | llvm-svn: 62654 | |||||
* | ccc: Add --analyze driver mode (for running static analyzer). | Daniel Dunbar | 2009-01-21 | 8 | -10/+66 | |
| | | | | | | | | | | | - For now forces generation of plist files, need to think about the right interface. - Changed -fsyntax-only mode to be its own phase (more consistent). - Add -WA, for passing options verbatim to analyzer. llvm-svn: 62649 | |||||
* | ccc: Unbreak -pipe handling broken in previous refactoring. | Daniel Dunbar | 2009-01-21 | 2 | -3/+5 | |
| | | | | llvm-svn: 62637 | |||||
* | Fix ccclib building when building in a separate build tree. | Mike Stump | 2009-01-20 | 1 | -7/+7 | |
| | | | | llvm-svn: 62621 | |||||
* | ccc: Allow downstream tools to be aware of final output name. | Daniel Dunbar | 2009-01-20 | 3 | -109/+121 | |
| | | | | | | | | | | | | | - This is a hack to allow the Darwin linker to get -final_output when doing universal builds; the mechanism should be generalized. - Handle multiple redundant -arch arguments correctly. - Forward -arch_multiple and -final_output to gcc when necessary. - Simplified implementation of derived gcc tools. llvm-svn: 62618 |