summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* [Options] Make Option non clang specific.Michael J. Spencer2012-10-181-2/+8
| | | | llvm-svn: 166230
* GNUstep runtime version default to 1.6, generate correct property attributeDavid Chisnall2012-10-161-1/+1
| | | | | | metadata. llvm-svn: 166023
* Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow.Daniel Dunbar2012-10-151-9/+22
| | | | llvm-svn: 165988
* Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6.Nico Weber2012-10-151-22/+9
| | | | | | See PR14013. llvm-svn: 165962
* [driver] Remove redundant cases due to overlapping commits between Ted ↵Chad Rosier2012-10-091-2/+0
| | | | | | | | (r165531, 165532) and I (r165534), but leave the test case in place. llvm-svn: 165537
* -fcatch-undefined-behavior: emit calls to the runtime library whenever one ↵Richard Smith2012-10-091-0/+18
| | | | | | of the checks fails. llvm-svn: 165536
* [driver] Remove the -W[no-][int-conversion|constant-conversion|enum-conversion]Chad Rosier2012-10-091-0/+2
| | | | | | | options when clang invokes cc1plus for i386 kexts. rdar://12459188 llvm-svn: 165534
* Don't forward -Wenum-conversion to cc1plus.Ted Kremenek2012-10-091-0/+1
| | | | llvm-svn: 165532
* Don't forward -Wint-conversion to cc1plus.Ted Kremenek2012-10-091-0/+1
| | | | llvm-svn: 165531
* Use getArch instead of getArchName + string compare.Rafael Espindola2012-10-071-14/+14
| | | | llvm-svn: 165370
* Driver: Link crtfastmath.o if it's available and -ffast-math is specified.Benjamin Kramer2012-10-041-0/+3
| | | | | | | | | | | | crtfastmath.o contains routines to set the floating point flags to a faster, unsafe mode. Linking it in speeds up code dealing with denormals significantly (PR14024). For now this is only enabled on linux where I can test it and crtfastmath.o is widely available. We may want to provide a similar file with compiler-rt eventually and/or enable it on other platforms too. llvm-svn: 165240
* During LTO, we call 'dsymutil' when we compile source files. This necessitatesBill Wendling2012-10-021-3/+16
| | | | | | | | | | clang specifying a temporary file that it later cleans up so that it can survive the linking stage. However, when we compile object files during LTO we don't call 'dsymutil'. That's done at a different stage (if at all). We rely upon the linker to specify a unique name for the temporary file it generates. <rdar://problem/12401423> llvm-svn: 165028
* Add Clang support for iOS6.Bob Wilson2012-09-291-9/+22
| | | | llvm-svn: 164907
* Add armv7s and some other arm variants supported by Mach-O files.Bob Wilson2012-09-291-0/+4
| | | | llvm-svn: 164905
* Modern objcective-C translator. When doing rewriting, Do not Fariborz Jahanian2012-09-281-1/+4
| | | | | | | use the integrated pre-processor, preprocess in objective-c++ mode. // rdar://12189793. llvm-svn: 164836
* Allow -MF to be used in combination with -E -M or -E -MM.Benjamin Kramer2012-09-261-3/+3
| | | | | | Fixes PR13851. Patch by Dimitry Andric! llvm-svn: 164717
* [driver] Add support for the -fno-fast-math option.Chad Rosier2012-09-251-11/+27
| | | | | | rdar://12299433 llvm-svn: 164638
* [analyzer] Really turn on dynamic-bifurcation on by default.Anna Zaks2012-09-241-2/+0
| | | | | | | Thanks to Byoungyoung for realizing taht we are not passing the default option correctly. llvm-svn: 164543
* Add four new command line options for MIPS CPU selection:Simon Atanasyan2012-09-211-2/+21
| | | | | | | | -mips32, -mips32r2, -mips64, -mips64r2. The patch reviewed by Eric Christopher. llvm-svn: 164410
* Add e500mc and e5500 to the list of valid PPC CPU names.Hal Finkel2012-09-181-0/+2
| | | | | | Patch by Tobias von Koch! llvm-svn: 164176
* This patch introduces A15 as a target in Clang.Silviu Baranga2012-09-131-2/+3
| | | | llvm-svn: 163804
* Conditionally parse documentation comments in system headers byTed Kremenek2012-09-131-0/+3
| | | | | | | | | | passing -fretain-comments-from-system-headers. By default, the compiler no longer parses such documentation comments, as they can result in a noticeable compile time/PCH slowdown. Fixes <rdar://problem/11860820>. llvm-svn: 163778
* Properly link libpthread_p when using profiling on OpenBSD.Eric Christopher2012-09-131-3/+10
| | | | | | Patch by Brad Smith. llvm-svn: 163777
* Claim --param ssp-buffer-size, even if the stack protector is notJoerg Sonnenberger2012-09-121-6/+8
| | | | | | active. llvm-svn: 163705
* Make -faddress-sanitizer on Android link to the new-style runtime.Evgeniy Stepanov2012-09-121-6/+5
| | | | llvm-svn: 163689
* Wrong crtbegin/crtend pair used for PIE on Android.Evgeniy Stepanov2012-09-101-2/+6
| | | | | | | | Android uses the same flavour of crt*.o for PIE and non-PIE executables, and a different one for DSOs. GNU/Linux, on the other hand, uses one set of crt*.o for non-PIE executables, and another for both PIE executables and DSOs. llvm-svn: 163500
* MIPS: Use -march=arch option to select either generic MIPS ISA,Simon Atanasyan2012-09-101-56/+38
| | | | | | | | or the name of a particular processor. The patch reviewed by Douglas Gregor. llvm-svn: 163492
* Link to crtend.S when PIE in the FreeBSD driver. Patch by Brooks Davis!Roman Divacky2012-09-071-3/+3
| | | | llvm-svn: 163388
* Apply some driver improvements for freebsd-*-mips*.Eric Christopher2012-09-051-8/+39
| | | | | | Patch by Brooks Davis. llvm-svn: 163249
* Rename ANDROIDEABI to Android.Logan Chien2012-09-021-5/+5
| | | | | | | | | | | | | Most of the code guarded with ANDROIDEABI are not ARM-specific, and having no relation with arm-eabi. Thus, it will be more natural to call this environment "Android" instead of "ANDROIDEABI". Note: We are not using ANDROID because several projects are using "-DANDROID" as the conditional compilation flag. llvm-svn: 163088
* Reland r160052: Default to -std=c++11 on Windows.Nico Weber2012-08-301-2/+5
| | | | | | Also update the tests that rely on c++98 to explicitly mention that. llvm-svn: 162890
* Emit .gcda files as absolute paths instead of relative paths.Bill Wendling2012-08-301-1/+3
| | | | | | | | | | | | This improves compatibility with gcc in this regard, and this file generation can be ameliorated with GCOV_PREFIX and GCOV_PREFIX_STRIP. It's also useful if your build directory doesn't specify -o <abspath> and it uses a recursive make structure, so it's not relative to the toplevel. Patch by Joshua Cranmer! <rdar://problem/12179524> llvm-svn: 162884
* Cleanup FreeBSD linking and add support for -pie.Roman Divacky2012-08-281-32/+38
| | | | | | Path by Brooks Davis, tests and fixes from me. llvm-svn: 162761
* MIPS: Use -G option to specify MIPS section threshold. Translate itSimon Atanasyan2012-08-271-0/+7
| | | | | | | to the -mllvm -mips-ssection-threshold=<value> pair and pass to the frontend. The patch suggested by Carl Norum. llvm-svn: 162697
* [driver] Add support for the --param ssp-buffer-size= driver option.Chad Rosier2012-08-211-0/+12
| | | | | | PR9673 llvm-svn: 162285
* Screw around with ObjCRuntime some more, changing theJohn McCall2012-08-211-3/+2
| | | | | | | | diagnostics for bad deployment targets and adding a few more predicates. Includes a patch by Jonathan Schleifer to enable ARC for ObjFW. llvm-svn: 162252
* Fix -Wl,--no-demangle to actually pass the flag to the linker on Linux insteadNick Lewycky2012-08-171-0/+3
| | | | | | of silently dropping it on the floor. llvm-svn: 162075
* Followup to r161546, to unbreak linking on Bitrig. Patch by David Hill.Eli Friedman2012-08-091-0/+4
| | | | llvm-svn: 161630
* clang support for Bitrig (an OpenBSD fork); patch by David Hill.Eli Friedman2012-08-081-0/+137
| | | | llvm-svn: 161546
* Don't complain about -fobjc-link-runtime being unused with -fobjc-arc.Bob Wilson2012-08-071-1/+3
| | | | | | | If you build with -fobjc-arc, then -fobjc-link-runtime is implied but we don't need to warn about it being unused in that case. rdar://12039965 llvm-svn: 161444
* Support ARM hard float (arm-linux-gnueabihf).Jiangning Liu2012-07-311-8/+4
| | | | llvm-svn: 161038
* No longer emitting a PCH file when using -fsyntax-only on a header file. ↵Aaron Ballman2012-07-311-1/+3
| | | | | | Fixes PR13343. llvm-svn: 161019
* Fix dynamic object linker for ARM GNUEABIHF.Jiangning Liu2012-07-301-2/+6
| | | | llvm-svn: 160958
* Provide correct linker command line options on FreeBSD 8 (GNU ld 2.15) and ↵David Chisnall2012-07-291-3/+17
| | | | | | | | on newer FreeBSD (GNU ld 2.17). Patch by Dimitry Andric! llvm-svn: 160931
* Rename -fms-inline-asm to -fenable-experimental-ms-inline-asm.Chad Rosier2012-07-201-2/+2
| | | | llvm-svn: 160590
* Add a new flag, -fms-inline-asm, that enables the output of MS-style inlineChad Rosier2012-07-201-0/+4
| | | | | | | | | | | assembly. By default, we don't emit IR for MS-style inline assembly (see r158833 as to why). This is strictly for testing purposes and should not be enabled with the expectation that things will work. This is a temporary flag and will be removed once MS-style inline assembly is fully supported. llvm-svn: 160573
* Define __FINITE_MATH_ONLY__ based on -ffast-math and -ffinite-math-only.Bob Wilson2012-07-191-4/+7
| | | | | | | This macro was being unconditionally set to zero, preceded by a FIXME comment. This fixes <rdar://problem/11845441>. Patch by Michael Gottesman! llvm-svn: 160491
* Enable new linker behaviour on FreeBSD.David Chisnall2012-07-151-0/+2
| | | | llvm-svn: 160231
* Revert r160052, "Default to -std=c++11 on Windows.", for now.NAKAMURA Takumi2012-07-121-5/+2
| | | | | | | | | Failing Tests (3): Clang :: Index/complete-cxx-inline-methods.cpp Clang :: Index/recursive-cxx-member-calls.cpp Clang :: SemaTemplate/inject-templated-friend-post.cpp llvm-svn: 160103
* Default to -std=c++11 on Windows.Nico Weber2012-07-111-2/+5
| | | | llvm-svn: 160052
OpenPOWER on IntegriCloud