summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
Commit message (Collapse)AuthorAgeFilesLines
* During LTO, we call 'dsymutil' when we compile source files. This necessitatesBill Wendling2012-10-022-4/+18
| | | | | | | | | | 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-292-11/+52
| | | | llvm-svn: 164907
* Add armv7s and some other arm variants supported by Mach-O files.Bob Wilson2012-09-293-2/+22
| | | | llvm-svn: 164905
* Modern objcective-C translator. When doing rewriting, Do not Fariborz Jahanian2012-09-282-1/+5
| | | | | | | use the integrated pre-processor, preprocess in objective-c++ mode. // rdar://12189793. llvm-svn: 164836
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. ↵Sylvestre Ledru2012-09-271-2/+2
| | | | | | See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 llvm-svn: 164769
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-2/+2
| | | | llvm-svn: 164766
* 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
* [Options] Store the option ID in OptTable::Info.Michael J. Spencer2012-09-254-6/+6
| | | | llvm-svn: 164644
* [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
* Implement ToolChain::IsUnwindTablesDefault to reduce code duplication a bit.Rafael Espindola2012-09-233-10/+4
| | | | llvm-svn: 164473
* On Hexagon getArchName() never returns x86_64, simplify the function.Rafael Espindola2012-09-221-3/+1
| | | | llvm-svn: 164470
* Fix pr13749. There is still a lot of code using getArchName that should beRafael Espindola2012-09-221-1/+1
| | | | | | using getArch, but I will try to fix them one at time to add tests. llvm-svn: 164460
* 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 C/C++ header locations for the Freescale SDK.Hal Finkel2012-09-181-0/+8
| | | | | | | | | The Freescale SDK is based on OpenEmbedded, and this might be useful for other OpenEmbedded-based configurations as well. With minor modifications, patch by Tobias von Koch! llvm-svn: 164177
* 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
* Do not use "lib32" directory to create a library/object filesSimon Atanasyan2012-09-141-7/+24
| | | | | | | | paths when target is MIPS 32-bit. The patch reviewed by Chandler Carruth. llvm-svn: 163898
* Improve the driver title as shown in the --help message. <rdar://12297538>Bob Wilson2012-09-141-1/+1
| | | | llvm-svn: 163870
* This patch introduces A15 as a target in Clang.Silviu Baranga2012-09-133-4/+6
| | | | 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
* Revert r163076 per chandlerc's request.Joao Matos2012-09-041-34/+22
| | | | llvm-svn: 163146
* Android standalone toolchain support.Evgeniy Stepanov2012-09-031-8/+19
| | | | | | | | This change adds detection of C++ headers and libraries paths when building with the standalone toolchain from Android NDK. They are in a slightly unusual place. llvm-svn: 163109
* Rename ANDROIDEABI to Android.Logan Chien2012-09-022-6/+6
| | | | | | | | | | | | | 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
* Fixed typo causing tests to fail on non-MSVC machines.Joao Matos2012-09-011-1/+1
| | | | llvm-svn: 163077
* Refactored the Windows headers location lookup code. Expose it so standalone ↵Joao Matos2012-09-011-22/+34
| | | | | | tools can have access to it. llvm-svn: 163076
* 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
* Tweak the ARC-requires-10.6 diagnostic according to Jordan's review.John McCall2012-08-271-2/+1
| | | | llvm-svn: 162651
* Reduce the amount of state in the Option class by relying on the data from ↵Michael J. Spencer2012-08-212-67/+18
| | | | | | OptTable::Info. llvm-svn: 162299
* [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-213-6/+8
| | | | | | | | 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 -Wswitch warning introduced by r162231David Blaikie2012-08-201-1/+2
| | | | llvm-svn: 162236
* Make Option non virtual.Michael J. Spencer2012-08-203-194/+96
| | | | llvm-svn: 162231
* darwin/driver: Support using SDKROOT to define the default for -isysroot.Daniel Dunbar2012-08-171-0/+14
| | | | | | | - The SDKROOT environment variable is the de facto way to set the default SDK for a number of tools, join forces with them. llvm-svn: 162116
* 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-085-0/+251
| | | | 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
* Handle null suffixes in GetTemporaryPath (PCH files don't have suffixes).Ted Kremenek2012-08-071-1/+2
| | | | llvm-svn: 161367
* PR13529: Don't crash if the driver sees an unused input file when running asRichard Smith2012-08-061-4/+13
| | | | | | | | | | 'clang-cpp'. For now, the test uses "REQUIRES: shell" to determine if the host system supports "ln -s", which it uses to create a 'clang-cpp' symlink. This is a bit hacky and should likely be directly supported by lit.cfg. llvm-svn: 161317
* Make property synthesis the default on Windows.Fariborz Jahanian2012-08-031-0/+4
| | | | llvm-svn: 161266
OpenPOWER on IntegriCloud