Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix -fdollars-in-identifiers Clang translation. | Daniel Dunbar | 2009-12-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 91562 | |||||
* | implement PR5654: add -fassume-sane-operator-new, which is enabled by ↵ | Nuno Lopes | 2009-12-16 | 1 | -0/+4 | |
| | | | | | | | | default, and adds the malloc attribute to the global function new() and to the overloaded new operators. feel free to chage the name to this lengthy argument llvm-svn: 91543 | |||||
* | Driver: Pass -resource-dir to clang -cc1, since the driver presumably ↵ | Daniel Dunbar | 2009-12-15 | 1 | -1/+11 | |
| | | | | | | already found itself. llvm-svn: 91384 | |||||
* | Implement runtime checks for undefined behavior. WIP. | Mike Stump | 2009-12-12 | 1 | -0/+1 | |
| | | | | | | | | | | | | | This implements a new flag -fcatch-undefined-behavior. The flag turns on additional runtime checks for: T a[I]; a[i] abort when i < 0 or i >= I. Future stuff includes shifts by >= bitwidth amounts. llvm-svn: 91198 | |||||
* | Make using '-fshort-enums' an error until it is actually implemented ↵ | Ted Kremenek | 2009-12-12 | 1 | -1/+2 | |
| | | | | | | (changes the ABI, so it is dangerous to not error out if we don't support it). Fixes <rdar://problem/7461006>. llvm-svn: 91191 | |||||
* | Driver: Switch to using "clang" "-cc1" instead of "clang-cc". | Daniel Dunbar | 2009-12-11 | 1 | -2/+7 | |
| | | | | llvm-svn: 91174 | |||||
* | Unbreak clang-cc handling of -msoft-float / -mfloat-abi=, which I borked. | Daniel Dunbar | 2009-12-08 | 1 | -3/+6 | |
| | | | | llvm-svn: 90873 | |||||
* | Enable '-analyzer-opt-analyze-nested-blocks' by default for testing. | Ted Kremenek | 2009-12-07 | 1 | -0/+3 | |
| | | | | llvm-svn: 90812 | |||||
* | Shorten the help test for -no-canonical-prefixes, put it behind HelpHidden and | Rafael Espindola | 2009-12-07 | 1 | -3/+0 | |
| | | | | | | claim it in Driver.cpp instead of Tools.cpp. llvm-svn: 90777 | |||||
* | Add gcc's -no-canonical-prefixes option to clang. | Rafael Espindola | 2009-12-04 | 1 | -0/+3 | |
| | | | | llvm-svn: 90577 | |||||
* | Fix Clang tool translation to forward -fvisibility as separate arguments, the | Daniel Dunbar | 2009-12-03 | 1 | -2/+6 | |
| | | | | | | old syntax isn't supported. llvm-svn: 90469 | |||||
* | Driver: Add Command::Creator member variable, which tracks the tool that was | Daniel Dunbar | 2009-12-02 | 1 | -16/+16 | |
| | | | | | | used to create a particular command. llvm-svn: 90287 | |||||
* | Add CodeGenOptions::{SoftFloat,FloatABI}, and update the all the (far too ↵ | Daniel Dunbar | 2009-11-30 | 1 | -4/+4 | |
| | | | | | | many) places to use this instead of using the backend -soft-float and -float-abi= options. llvm-svn: 90127 | |||||
* | Always pass -fmessage-length using separate arguments. | Daniel Dunbar | 2009-11-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 90121 | |||||
* | Move LLVM backend options to explicit clang-cc / clang -cc1 options, which ↵ | Daniel Dunbar | 2009-11-29 | 1 | -25/+28 | |
| | | | | | | we then manually pass to the command line library; eventually the latter grossness should be fixed by a real API when creating the target machine. llvm-svn: 90063 | |||||
* | clang-cc: Change -fsigned-char=0 to -fno-unsigned-char and pass -pic-level ↵ | Daniel Dunbar | 2009-11-29 | 1 | -5/+3 | |
| | | | | | | using separate args. llvm-svn: 90054 | |||||
* | What the FIXMEs want, the FIXMEs shall have. | Daniel Dunbar | 2009-11-25 | 1 | -53/+28 | |
| | | | | llvm-svn: 89861 | |||||
* | Don't pass -fexceptions=0 (it is the default). | Daniel Dunbar | 2009-11-25 | 1 | -8/+4 | |
| | | | | llvm-svn: 89853 | |||||
* | Fix refacto, gcc's cc1 needs to see --output-pch=, which is not just an alias | Daniel Dunbar | 2009-11-21 | 1 | -1/+1 | |
| | | | | | | for -output-pch=. llvm-svn: 89534 | |||||
* | Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'. | Daniel Dunbar | 2009-11-20 | 1 | -2/+3 | |
| | | | | llvm-svn: 89498 | |||||
* | Standardize Driver translation to call clang-cc using '-foo' form instead of ↵ | Daniel Dunbar | 2009-11-20 | 1 | -16/+16 | |
| | | | | | | '--foo'. llvm-svn: 89497 | |||||
* | Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... ↵ | Daniel Dunbar | 2009-11-19 | 1 | -6/+5 | |
| | | | | | | variants instead of using llvm::cl::init(true) arguments. llvm-svn: 89315 | |||||
* | Driver: ArgList doesn't depend on Options.h anymore. | Daniel Dunbar | 2009-11-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 89313 | |||||
* | Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵ | Daniel Dunbar | 2009-11-19 | 1 | -1/+1 | |
| | | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308 | |||||
* | Use Option::matches instead of direct ID comparison. | Daniel Dunbar | 2009-11-19 | 1 | -5/+5 | |
| | | | | llvm-svn: 89305 | |||||
* | Fix passing stdc++ correctly in the FreeBSD toolchain support, Credit to ↵ | Edward O'Callaghan | 2009-11-18 | 1 | -4/+2 | |
| | | | | | | Roman Divacky. llvm-svn: 89205 | |||||
* | Added block type introspection support. | David Chisnall | 2009-11-17 | 1 | -1/+3 | |
| | | | | | | As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple. llvm-svn: 89134 | |||||
* | Add -fblocks, -stack-protector, and -fobjc-nonfragile-abi defaulting to driver, | Daniel Dunbar | 2009-11-17 | 1 | -19/+23 | |
| | | | | | | | instead of using getDefaultLangOptions. - Remove unused -fobjc-tight-layout while at it. llvm-svn: 89065 | |||||
* | Move -fnext-runtime defaulting to driver (and change clang-cc default to | Daniel Dunbar | 2009-11-17 | 1 | -2/+6 | |
| | | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058 | |||||
* | Move -fms-extensions defaulting to driver, instead of using ↵ | Daniel Dunbar | 2009-11-17 | 1 | -2/+7 | |
| | | | | | | getDefaultLangOptions. llvm-svn: 89057 | |||||
* | Move char-is-signed defaulting to driver, instead of using | Daniel Dunbar | 2009-11-17 | 1 | -9/+22 | |
| | | | | | | getDefaultLangOptions. llvm-svn: 89053 | |||||
* | Add clang -mcpu=native support, patch by Roman Divacky, varioustweaks by me. | Daniel Dunbar | 2009-11-14 | 1 | -10/+25 | |
| | | | | | | | - We still need support for detecting the target features, since the name doesn't actually do a good job of decribing what the CPU supports (for LLVM). llvm-svn: 88819 | |||||
* | Fix for FreeBSD toolchain in regards to CPP, Credit to Roman Divacky. | Edward O'Callaghan | 2009-11-08 | 1 | -0/+4 | |
| | | | | llvm-svn: 86459 | |||||
* | Adding -fshort-wchar option. | John Thompson | 2009-11-05 | 1 | -0/+7 | |
| | | | | llvm-svn: 86167 | |||||
* | Move -fcolor-diagnostics logic to driver. | Daniel Dunbar | 2009-11-04 | 1 | -3/+8 | |
| | | | | llvm-svn: 86014 | |||||
* | Move logic for selection -fmessage-length= to driver. | Daniel Dunbar | 2009-11-04 | 1 | -1/+12 | |
| | | | | llvm-svn: 86013 | |||||
* | Fix indentation. | Daniel Dunbar | 2009-11-04 | 1 | -24/+24 | |
| | | | | llvm-svn: 86011 | |||||
* | Merge constant array and structures. This will create a global variables for ↵ | Tanya Lattner | 2009-11-04 | 1 | -0/+3 | |
| | | | | | | arrays and structs that are constant and their initializer is constant. It is on by default but can be disable with the flag -fno-merge-all-constants. llvm-svn: 85991 | |||||
* | Implement support for the -undef command line option, patch by | Chris Lattner | 2009-11-03 | 1 | -0/+2 | |
| | | | | | | Roman Divacky! PR5363 llvm-svn: 85932 | |||||
* | Fix -pthread on dragonfly. Patch by Sascha Wildner. | Mike Stump | 2009-10-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 85679 | |||||
* | Change the driver to do the Darwin triple mangling itself instead of forwarding | Daniel Dunbar | 2009-10-30 | 1 | -6/+55 | |
| | | | | | | -mmacosx-version-min and -miphoneos-version-min to clang-cc. llvm-svn: 85600 | |||||
* | Remove some obsolete or unnecessary FIXMEs. | Daniel Dunbar | 2009-10-29 | 1 | -17/+4 | |
| | | | | llvm-svn: 85475 | |||||
* | PR5328: Allow duplicatic -pedantic (and -pedantic-errors) options. | Daniel Dunbar | 2009-10-29 | 1 | -1/+3 | |
| | | | | | | - clang-cc doesn't care about their relative order with other -W options. llvm-svn: 85473 | |||||
* | Kill off MakeFormattedString helper function. | Daniel Dunbar | 2009-10-29 | 1 | -14/+5 | |
| | | | | llvm-svn: 85472 | |||||
* | Reject -I- in driver instead of clang-cc. | Daniel Dunbar | 2009-10-29 | 1 | -0/+4 | |
| | | | | llvm-svn: 85469 | |||||
* | [llvm up] | Douglas Gregor | 2009-10-29 | 1 | -17/+13 | |
| | | | | | | | Switch a few ugly switch-on-string-literal constructs to use the new llvm::StringSwitch. llvm-svn: 85461 | |||||
* | Fix for PR4887, Credit to Jonathan Gray. | Edward O'Callaghan | 2009-10-28 | 1 | -1/+4 | |
| | | | | llvm-svn: 85392 | |||||
* | Rename -nostdclanginc to -nobuiltininc. | Rafael Espindola | 2009-10-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 85116 | |||||
* | AuroraUX toolchain should call GNU assembler not the Solaris assembler. | Edward O'Callaghan | 2009-10-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 84469 | |||||
* | dynamic linker arg is incorrectly invoking gnu ld arg syntax instead of svr4 ↵ | Edward O'Callaghan | 2009-10-16 | 1 | -1/+1 | |
| | | | | | | ld syntax in AuroraUX toolchain. llvm-svn: 84266 |