aboutsummaryrefslogtreecommitdiff
path: root/tools/ccc
AgeCommit message (Collapse)Author
2009-05-02ccc is dead.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70649 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-25Turn on '-analyzer-eagerly-assume' by default in ccc for the static analyzer.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67663 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24Install clang-cc to libexec/clang-cc (instead of bin/clang-cc).Daniel Dunbar
- Updated ccc & driver to look in libexec/ for tools. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67607 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24Rename clang to clang-cc.Daniel Dunbar
Tests and drivers updated, still need to shuffle dirs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24ccc: Have generic GCC tool chain search the driver directory forDaniel Dunbar
executables (e.g., clang). - This matches the clang-driver behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67590 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24ccc/Driver: -r option doesn't take an argument.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67581 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-23ccc: Forward -f[no-]builtin to clang.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67517 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-20ccc/Driver: .s defaults to 'assembler-with-cpp' on Darwin.Daniel Dunbar
- <rdar://problem/6669441> ccc doesn't handle assembler-with-cpp semantics correctly (but clang supports it) - This is sad, because it requires a fairly useless target hook. C'est la vie. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67418 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-20ccc: Use -include-pth.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67410 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-18ccc: Pass --relocation-model as separate arguments (to match Driver).Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67190 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13Update test.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66967 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13ccc: Handle limited forms of -ccc-host-triple for testingDaniel Dunbar
compatibility with C++ rewrite. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66938 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13ccc/Driver: Forward -fheinous-gnu-extensions to clang.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66915 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13ccc/Driver: Normalize phase spelling in -ccc-print-phases.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66912 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13ccc: Don't print the arch for every action when printing phases.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66886 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13ccc/Driver: Forward -fprint-source-range-info to clang.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66879 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13ccc/Driver: Mark {dump{machine,specs,version},Daniel Dunbar
print-{multi-{directory,lib,os-directory}, search-dirs} as unsupported instead of handling separately. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66848 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12ccc: Fix broken assertion.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66793 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12ccc: Fix -ccc-print-phases when doing a universal build.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66792 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12ccc: Tweak some group names.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66772 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12ccc: Cleanup arguments a bit; we don't need a separate group forDaniel Dunbar
-fblocks, and there were some duplicate options scattered in. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66764 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-11ccc: -x assembler-with-cpp was broken for darwin, and it wasn't usingDaniel Dunbar
clang as the preprocessor even when it should. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66737 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-10Driver: Handle magic -ccc- options.Daniel Dunbar
- Follows ccc currently, but this functionality should eventually be outside the Driver lib. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66575 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-10Forward -ftemplate-depth-<N> to clang's -ftemplate-depth N.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66516 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09ccc: Parse -T{bss,data,text}, -iwithsysroot, -specs correctly.Daniel Dunbar
Also, fix some test cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66425 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06Fix thinko. *cough* ofcourseItestedit *cough*Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66283 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06Tidy file removal cleanup & remove race condition on file existence.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66281 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-04ccc: Fix passing of -nozero-initialized-in-bss.Daniel Dunbar
- PR3722. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66052 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25Do not automatically run the 'missing -dealloc' check until we have adequate ↵Ted Kremenek
time to make it much smarter (too much noise). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65474 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-23ccc: Don't remove result files on error when -save-temps is present.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65349 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-22ccc: Remove unknown host warning, it was breaking gcc's configure.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65276 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-22ccc: Remove temporary files used in compilation, and removeDaniel Dunbar
compilation results on failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65254 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20Unbreak Darwin PIC handling; my refactoring yesterday was bogus.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65154 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20Fix test case.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65139 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20ccc: Spell mattr correctly.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65119 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20ccc: Basic translation of gcc subtarget feature options to LLVMDaniel Dunbar
options (i.e., -mno-red-zone, -msoft-float, -mno-sse, etc.) - Also, make sure unwind tables default to on Darwin/x86_64. - PR3604. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65118 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20ccc: Use toolchain hook for default relocation model value.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65116 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20ccc: Use toolChain arch name instead of looking for arch command lineDaniel Dunbar
argument; the toolchain should always know the arch. - Fixes: <rdar://problem/6582911> -ccc-clang-archs doesn't work for excluding ppc git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65104 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20ccc: Store arch name in all toolchains.Daniel Dunbar
- No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65102 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-20ccc: Give all tools access to the toolchain they are in.Daniel Dunbar
- No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65100 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-19ccc: Give nicer error when spawning a subprocess fails.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65075 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-19ccc: Also look for .gch files when seeing if we should auto load aDaniel Dunbar
token-cache for clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65069 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18ccc: Forward -ftime-report to clang.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64887 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17ccc: Pass -{MM,MMD,MF,MP,MT} to clang. Error on -{M,MM,MG,MQ} whichDaniel Dunbar
clang doesn't support yet. - See PR3603. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64783 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17ccc: Recognize -isystem.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64776 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17ccc: Assume gcc will accept piped assembler input when using generic GCC ↵Daniel Dunbar
toolchain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64775 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17ccc: Fix a FIXME.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64774 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17Static Analyzer driver/options (partial) cleanup:Ted Kremenek
- Move all analyzer options logic to AnalysisConsumer.cpp. - Unified specification of stores/constraints/output to be: -analyzer-output=... -analyzer-store=... -analyzer-constraints=... instead of -analyzer-range-constraints, -analyzer-store-basic, etc. - Updated drivers (ccc-analyzer, scan-builds, new ccc) to obey this new interface - Updated test cases to conform to new driver options git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64737 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-17ccc: Pass -f[no-]math-errno to clang.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64709 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-16ccc: @<filename> arguments are only treated specially if <filename>Daniel Dunbar
exists, otherwise gcc just treats as an input. - PR3591 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64640 91177308-0d34-0410-b5e6-96231b3b80d8