summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/flags.c
Commit message (Collapse)AuthorAgeFilesLines
* Add flag to request Clang is ABI-compatible with older versions of itselfRichard Smith2017-08-261-0/+3
| | | | | | | | | | | | | | | | | | This patch adds a flag -fclang-abi-compat that can be used to request that Clang attempts to be ABI-compatible with some older version of itself. This is provided on a best-effort basis; right now, this can be used to undo the ABI change in r310401, reverting Clang to its prior C++ ABI for pass/return by value of class types affected by that change, and to undo the ABI change in r262688, reverting Clang to using integer registers rather than SSE registers for passing <1 x long long> vectors. The intent is that we will maintain this backwards compatibility path as we make ABI-breaking fixes in future. The reversion to the old behavior for r310401 is also applied to the PS4 target since that change is not part of its platform ABI (which is essentially to do whatever Clang 3.2 did). llvm-svn: 311823
* Add a new -mimplicit-float option for symmetry with -mno-implicit-float.Bob Wilson2013-04-111-0/+6
| | | | | | | This new option is the default, but it is useful to have a flag to override -mno-implicit-float by putting -mimplicit-float later on the command line. llvm-svn: 179309
* FileCheck-ify more grep tests with quoted double quotesReid Kleckner2013-04-111-14/+14
| | | | | | | | This required some tedious reordering to match clang's order. Presumably these ObjC tests were generated based on llvm-gcc's output ordering. llvm-svn: 179282
* Use -mno-implicit-float by default for kernel/kext code. <rdar://13177960>Bob Wilson2013-02-101-0/+6
| | | | | | | | | | | Apple's kernel engineers have been expecting this behavior even though we've never implemented it before, as far as I can tell. In recent months, clang has gotten better at using vector instructions to optimize memcpy-like operations, and that has exposed problems when vector/floating-point instructions are used in kexts that don't support that. This behavior also matches what Apple's GCC did for PowerPC targets. llvm-svn: 174838
* Recognize -mno-implicit-float option for x86 as well as ARM. <rdar://13180731>Bob Wilson2013-02-101-1/+4
| | | | | | | | | For x86 targets, we've been using the -msoft-float option to control passing the no-implicit-float option to cc1. Since the -mno-implicit-float option is now accepted by the driver, this just makes it work for x86 the same as it does for ARM targets. llvm-svn: 174836
* Rename the driver option to -mno-implicit-float, per Eli's suggestion.Chad Rosier2012-05-161-1/+1
| | | | llvm-svn: 156950
* [driver] Allow the driver to directly accept the -no-implicit-float option, ↵Chad Rosier2012-05-161-0/+2
| | | | | | | | | so that the generation of implicit floating point instructions can be disable for ARM. rdar://11409142 llvm-svn: 156942
* rename -ccc-host-triple into -targetSebastian Pop2012-01-201-3/+3
| | | | llvm-svn: 148582
* Revert r148138; it's causing test failures.Eli Friedman2012-01-131-3/+3
| | | | llvm-svn: 148141
* rename -ccc-host-triple into -targetSebastian Pop2012-01-131-3/+3
| | | | llvm-svn: 148138
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-3/+3
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Standardize Driver translation to call clang-cc using '-foo' form instead of ↵Daniel Dunbar2009-11-201-3/+3
| | | | | | '--foo'. llvm-svn: 89497
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-5/+5
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Set function Attribute::NoImplicitFloat appropriately.Devang Patel2009-06-051-3/+3
| | | | llvm-svn: 72961
* Driver: Unbreak ArgList::hasFlag.Daniel Dunbar2009-03-301-0/+9
- <rdar://problem/6726511> [driver] clang does not have -msoft-float hooked up. llvm-svn: 68044
OpenPOWER on IntegriCloud