summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver
Commit message (Collapse)AuthorAgeFilesLines
* [driver] Remove the -W[no-][int-conversion|constant-conversion|enum-conversion]Chad Rosier2012-10-091-0/+4
| | | | | | | options when clang invokes cc1plus for i386 kexts. rdar://12459188 llvm-svn: 165534
* Make Bitrig's clang understand -stdlib= correctly.Chandler Carruth2012-10-081-0/+14
| | | | | | | | | With this patch Bitrig can use a different c++ library without pain and within the normal commandline parameters. Original patch by David Hill, with lots of fixes and cleanup by me. llvm-svn: 165430
* Use getArch instead of getArchName.Rafael Espindola2012-10-071-0/+8
| | | | | | | | | | | | The darwin change should be a nop since Triple::getArchTypeForDarwinArchName doesn't know about amd64. If things like amd64-mingw32 are to be rejected, we should print a error earlier on instead of silently using the wrong abi. Remove old comment that looks out of place, this is "in clang". llvm-svn: 165368
* Driver: Link crtfastmath.o if it's available and -ffast-math is specified.Benjamin Kramer2012-10-042-0/+21
| | | | | | | | | | | | 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
* Implement Adnroid MIPS toolchain support:Simon Atanasyan2012-10-0315-0/+67
| | | | | | | | | | 1. Add mipsel-linux-android to the list of valid MIPS target triples. 2. Add <gcc install path>/mips-r2 to the list of toolchain specific path prefixes if target is mipsel-linux-android. The patch reviewed by Logan Chien. llvm-svn: 165131
* Fix test for r165028. It only generates that flag for source files now.Bill Wendling2012-10-021-1/+1
| | | | | | <rdar://problem/12401423> llvm-svn: 165029
* Convert to FileCheck.Rafael Espindola2012-10-021-40/+46
| | | | llvm-svn: 165026
* Specify a full target in an attempt to appease buildbots.Bob Wilson2012-09-301-4/+4
| | | | llvm-svn: 164908
* Add Clang support for iOS6.Bob Wilson2012-09-292-0/+14
| | | | llvm-svn: 164907
* Modern objcective-C translator. When doing rewriting, Do not Fariborz Jahanian2012-09-281-1/+0
| | | | | | | use the integrated pre-processor, preprocess in objective-c++ mode. // rdar://12189793. llvm-svn: 164836
* [driver] Add support for the -fno-fast-math option.Chad Rosier2012-09-251-0/+49
| | | | | | rdar://12299433 llvm-svn: 164638
* Use an explicit target to test that source fortification is off when ↵Alexander Potapenko2012-09-241-2/+2
| | | | | | building for Darwin with -faddress-sanitizer. llvm-svn: 164485
* Use pipes.Rafael Espindola2012-09-221-31/+18
| | | | llvm-svn: 164469
* Use FileCheck.Rafael Espindola2012-09-221-4/+8
| | | | llvm-svn: 164468
* Use FileCheck.Rafael Espindola2012-09-221-11/+13
| | | | llvm-svn: 164462
* Fix pr13749. There is still a lot of code using getArchName that should beRafael Espindola2012-09-221-0/+7
| | | | | | 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-212-0/+40
| | | | | | | | -mips32, -mips32r2, -mips64, -mips64r2. The patch reviewed by Eric Christopher. llvm-svn: 164410
* Remove a test that is non-portable (cannot be execute on cross builds, for ↵David Blaikie2012-09-201-18/+0
| | | | | | | | | | | | example) While it might be nice to have a quick end-to-end sanity test, it's just not really the right place for it & would require more work to enable lit to provide a detection flag ("XFAIL: cross" or similar) than the value we get from having this test. Early on it might've made more sense, but these days we've got some pretty good coverage across the stack with more targeted tests. llvm-svn: 164314
* Disable source fortification on Darwin with AddressSanitizer.Alexander Potapenko2012-09-201-0/+5
| | | | | | ASan doesn't play well with -D_FORTIFY_SOURCE, which is enabled by default starting at OS X 10.7 llvm-svn: 164299
* Add the freescale_ppc64_tree that should have been included in r164177.Hal Finkel2012-09-186-0/+0
| | | | llvm-svn: 164179
* Add C/C++ header locations for the Freescale SDK.Hal Finkel2012-09-187-0/+20
| | | | | | | | | 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/+17
| | | | | | Patch by Tobias von Koch! llvm-svn: 164176
* Do not use "lib32" directory to create a library/object filesSimon Atanasyan2012-09-1413-0/+33
| | | | | | | | paths when target is MIPS 32-bit. The patch reviewed by Chandler Carruth. llvm-svn: 163898
* Add tests for r163778.Ted Kremenek2012-09-131-0/+9
| | | | llvm-svn: 163812
* Properly link libpthread_p when using profiling on OpenBSD.Eric Christopher2012-09-131-4/+8
| | | | | | Patch by Brad Smith. llvm-svn: 163777
* clang/test: [PR13820] Suppress LLP64-incompatible tests for ObjC with +Asserts.NAKAMURA Takumi2012-09-122-0/+6
| | | | llvm-svn: 163709
* Fix a test failure.Evgeniy Stepanov2012-09-121-4/+4
| | | | llvm-svn: 163691
* Wrong crtbegin/crtend pair used for PIE on Android.Evgeniy Stepanov2012-09-101-0/+17
| | | | | | | | 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-102-0/+10
| | | | | | | | or the name of a particular processor. The patch reviewed by Douglas Gregor. llvm-svn: 163492
* Attempt to pacify Windows buildbots.Roman Divacky2012-09-071-1/+1
| | | | llvm-svn: 163389
* Link to crtend.S when PIE in the FreeBSD driver. Patch by Brooks Davis!Roman Divacky2012-09-071-0/+14
| | | | llvm-svn: 163388
* Tighten up regexps some more.Jakob Stoklund Olesen2012-09-061-4/+4
| | | | | | | These tests were failing for me because the .* was greedily matching up to the /libexec/ld-elf.so.1" later on the same line. llvm-svn: 163328
* Add test missed in previous commit.Eric Christopher2012-09-051-0/+56
| | | | llvm-svn: 163253
* Try to fix the windows bots.Eric Christopher2012-09-051-4/+4
| | | | llvm-svn: 163252
* Apply some driver improvements for freebsd-*-mips*.Eric Christopher2012-09-051-1/+29
| | | | | | Patch by Brooks Davis. llvm-svn: 163249
* test/Driver/android-standalone.cpp: Fix test failure on Windowns, again.NAKAMURA Takumi2012-09-031-1/+1
| | | | llvm-svn: 163114
* Fix test failure on Windowns.Evgeniy Stepanov2012-09-031-1/+1
| | | | llvm-svn: 163112
* Android standalone toolchain support.Evgeniy Stepanov2012-09-0316-8/+25
| | | | | | | | 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-021-0/+14
| | | | | | | | | | | | | 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
* Cleanup FreeBSD linking and add support for -pie.Roman Divacky2012-08-281-0/+24
| | | | | | Path by Brooks Davis, tests and fixes from me. llvm-svn: 162761
* Check for MIPS target availability for Driver/mips-as.c test.Simon Atanasyan2012-08-281-0/+2
| | | | llvm-svn: 162744
* MIPS: Use -G option to specify MIPS section threshold. Translate itSimon Atanasyan2012-08-271-0/+6
| | | | | | | 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-1/+1
| | | | llvm-svn: 162651
* [driver] Add support for the --param ssp-buffer-size= driver option.Chad Rosier2012-08-211-0/+11
| | | | | | PR9673 llvm-svn: 162285
* Screw around with ObjCRuntime some more, changing theJohn McCall2012-08-211-3/+3
| | | | | | | | 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
* darwin/driver: Support using SDKROOT to define the default for -isysroot.Daniel Dunbar2012-08-171-0/+22
| | | | | | | - 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-2/+9
| | | | | | of silently dropping it on the floor. llvm-svn: 162075
* Don't complain about -fobjc-link-runtime being unused with -fobjc-arc.Bob Wilson2012-08-071-0/+4
| | | | | | | 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
* PR13529: Don't crash if the driver sees an unused input file when running asRichard Smith2012-08-061-0/+6
| | | | | | | | | | '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
* Reduce temp file pollution in some test cases.Benjamin Kramer2012-08-032-2/+2
| | | | llvm-svn: 161237
OpenPOWER on IntegriCloud