summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc
Commit message (Collapse)AuthorAgeFilesLines
...
* ccc: Pass -P to clang.Daniel Dunbar2009-02-151-0/+1
| | | | llvm-svn: 64578
* Add -ffreestanding to suppress the implicit declaration of library builtins ↵Douglas Gregor2009-02-141-0/+1
| | | | | | like printf and malloc. Fixes PR3586 llvm-svn: 64566
* ccc: Suffix for PCH files is appended, not replaced. (Test case)Daniel Dunbar2009-02-131-4/+4
| | | | llvm-svn: 64467
* ccc: Suffix for PCH files is appended, not replaced.Daniel Dunbar2009-02-132-5/+9
| | | | llvm-svn: 64466
* ccc: Test case for transparent PTH support.Daniel Dunbar2009-02-131-0/+5
| | | | llvm-svn: 64420
* ccc: Stop patching output file name when using transparent PTH support.Daniel Dunbar2009-02-131-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 Dunbar2009-02-131-0/+6
| | | | llvm-svn: 64416
* One more tweak to account for gluing together llvm and clang into one.Mike Stump2009-02-111-0/+1
| | | | llvm-svn: 64276
* More version experimentation.Mike Stump2009-02-111-1/+4
| | | | llvm-svn: 64271
* Run a little experiment with version numbers.Mike Stump2009-02-111-1/+1
| | | | llvm-svn: 64268
* ccc: -dM wasn't being passed to Darwin/CC1 correctly.Daniel Dunbar2009-02-091-6/+0
| | | | llvm-svn: 64169
* ccc: Forward -dM to clang.Daniel Dunbar2009-02-062-0/+3
| | | | llvm-svn: 63955
* ccc/Darwin: Add a missing Darwin argument translation, -shared becomesDaniel Dunbar2009-02-062-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 Dunbar2009-02-061-1/+3
| | | | llvm-svn: 63903
* ccc: Implement special language recognition handling for -.Daniel Dunbar2009-02-052-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 Dunbar2009-02-052-1/+12
| | | | llvm-svn: 63816
* ccc: Forward -femit-all-decls to clang and use an option group toDaniel Dunbar2009-02-042-25/+15
| | | | | | simplify handling of -f options clang recognizes. llvm-svn: 63778
* ccc: -ObjC and -ObjC++ change default language, but only for "sourceDaniel Dunbar2009-02-042-0/+20
| | | | | | files". llvm-svn: 63727
* Use /usr/bin/env to run Python for increased portability. Patch byDaniel Dunbar2009-02-031-1/+1
| | | | | | David Chisnall. llvm-svn: 63661
* Add -fno-blocks support. This fixes block-no-block-def.c.Mike Stump2009-01-302-2/+8
| | | | llvm-svn: 63385
* ccc: Forward -fobjc-nonfragile-abi to clang.Daniel Dunbar2009-01-302-0/+2
| | | | llvm-svn: 63378
* ccc: Add -Xclang option, rename -WA, to -Xanalyzer.Daniel Dunbar2009-01-304-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 Dunbar2009-01-302-5/+1
| | | | llvm-svn: 63348
* ccc: Embrace destiny as a clang compiler driver.Daniel Dunbar2009-01-2911-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 Dunbar2009-01-292-7/+24
| | | | llvm-svn: 63277
* Fix test case (for -### printing version)Daniel Dunbar2009-01-281-3/+3
| | | | llvm-svn: 63223
* ccc: Support -v; invent a version number for ccc for now, will beDaniel Dunbar2009-01-282-9/+21
| | | | | | shared with clang eventually. llvm-svn: 63220
* ccc/Darwin/clang: Fix a mistranslation for the llvm-backend; llvm-gccDaniel Dunbar2009-01-272-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 theDaniel Dunbar2009-01-271-0/+2
| | | | | | machine as x86_64. llvm-svn: 63122
* ccc: -o should not be automatically forwarded to generic gcc tools.Daniel Dunbar2009-01-261-1/+1
| | | | llvm-svn: 63015
* ccc: Recognize -emit-llvm [-S].Daniel Dunbar2009-01-266-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 Dunbar2009-01-232-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 Dunbar2009-01-231-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 Dunbar2009-01-231-8/+55
| | | | llvm-svn: 62841
* ccc: Support long ('--...') flag arguments.Daniel Dunbar2009-01-233-9/+57
| | | | | | | - Curiously, a number of the current translations gcc does appear to be useless? llvm-svn: 62831
* ccc: Organize long options together.Daniel Dunbar2009-01-231-40/+30
| | | | llvm-svn: 62829
* ccc: Add support for several more aliases (--ansi, --assemble,Daniel Dunbar2009-01-232-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 (missedDaniel Dunbar2009-01-231-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 Dunbar2009-01-231-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 Dunbar2009-01-231-1/+1
| | | | llvm-svn: 62817
* ccc: Bug fix, driver logic was allowing child jobs to pipe output whenDaniel Dunbar2009-01-222-3/+6
| | | | | | parent wasn't expecting it. llvm-svn: 62811
* ccc/clang: Mimic llvm-gcc initialization of LLVM backend based on gccDaniel Dunbar2009-01-222-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 optionDaniel Dunbar2009-01-212-24/+27
| | | | | | groups, and fix misdeclaration of some -W options. llvm-svn: 62702
* ccc: Add appropriate file search prefixes when on x86_64 Darwin, andDaniel Dunbar2009-01-212-8/+12
| | | | | | look for crt3.o appropriately. llvm-svn: 62694
* ccc: Implement file & path searching.Daniel Dunbar2009-01-214-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 Dunbar2009-01-211-0/+7
| | | | llvm-svn: 62654
* ccc: Add --analyze driver mode (for running static analyzer).Daniel Dunbar2009-01-218-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 Dunbar2009-01-212-3/+5
| | | | llvm-svn: 62637
* Fix ccclib building when building in a separate build tree.Mike Stump2009-01-201-7/+7
| | | | llvm-svn: 62621
* ccc: Allow downstream tools to be aware of final output name.Daniel Dunbar2009-01-203-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
OpenPOWER on IntegriCloud