summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver
Commit message (Collapse)AuthorAgeFilesLines
* Add driver support for AArch64 Fedora.Tilmann Scheller2014-05-066-0/+18
| | | | | | Reviewed by Eric Christopher. llvm-svn: 208105
* [PATCH] [ARM64] Enable alignment control option in front-end for ARM64.Kevin Qin2014-05-061-9/+32
| | | | | | | This patch is to get "-mno-unaligned-access" and "-munaligned-access" work in front-end for ARM64 target. llvm-svn: 208075
* Simplify getARMCPUForMArch() and make it more consistentChristian Pirker2014-05-051-0/+14
| | | | llvm-svn: 207956
* [driver] Enable the slp vectorizer at -Oz.Chad Rosier2014-05-021-1/+1
| | | | | | PR19568 llvm-svn: 207858
* XCore target: fix handling of -g0 flagRobert Lytton2014-05-021-0/+5
| | | | llvm-svn: 207833
* Bitrig's standard C++ standard library changed from libstdc++ to libc++.Richard Smith2014-05-011-6/+6
| | | | | | | Also, it uses libc++abi and needs pthread. While there, fix the libc++ include path. Patch by Patrick Wildt! llvm-svn: 207813
* Android uses -fpic for arm64 as well.Logan Chien2014-04-301-0/+2
| | | | llvm-svn: 207642
* [ARM64] Port remaining relevant AArch64 clang tests over to ARM64Bradley Smith2014-04-302-0/+38
| | | | llvm-svn: 207632
* Drop non-cfi assembly support from clang.Rafael Espindola2014-04-302-44/+0
| | | | | | | | | | | | | | After this patch clang will ignore -fdwarf2-cfi-asm and -ffno-dwarf2-cfi-asm and always print assembly that uses cfi directives. In llvm, MC itself supports cfi since the end of 2010 (support started in r119972, is reported in the 2.9 release notes). In binutils the support has been around for much longer. It looks like support started to be added in May 2003. It is available in 2.15 (31-Aug-2011, 2.14 is from 12-Jun-2003). llvm-svn: 207602
* Android uses -fpic for aarch64.Logan Chien2014-04-291-0/+2
| | | | llvm-svn: 207567
* Pass -pie to linker when generating executable on AndroidAlexey Volkov2014-04-291-0/+5
| | | | | | | | This fixes problem with LTO on Android. Differential Revision: http://reviews.llvm.org/D2668 llvm-svn: 207520
* When Driver::generateCompilationDiagnostics is filtering the list ofPaul Robinson2014-04-281-1/+1
| | | | | | | inputs to the preprocessor, check for invalid types first because not all linker inputs have an option value to retrieve. llvm-svn: 207454
* [driver] Disable the slp vectorizer at -O0, -O1, and -Oz. This mirrors theChad Rosier2014-04-281-0/+11
| | | | | | | | behavior of the loop vectorizer, which is enabled at -O2, -O3, -O4, -Ofast and -Os. PR19568 llvm-svn: 207433
* clang-cl: /fallback only applies to C or C++ filesHans Wennborg2014-04-252-0/+7
| | | | | | We would previously hit an assert if using /fallback with an .ll file. llvm-svn: 207234
* clang-cl: pass -debug flag to the linker when compiling with debug infoHans Wennborg2014-04-251-0/+4
| | | | llvm-svn: 207233
* Revert "Reland r206934 with a hopefully fixed test"Rafael Espindola2014-04-251-4/+0
| | | | | | | This reverts commit r207155. The test was still failing. llvm-svn: 207225
* Reland r206934 with a hopefully fixed testReid Kleckner2014-04-241-0/+4
| | | | llvm-svn: 207155
* Add missing test input for r206979.Logan Chien2014-04-235-0/+0
| | | | llvm-svn: 206992
* Add aarch64-linux-android triple for Android.Logan Chien2014-04-235-0/+38
| | | | llvm-svn: 206979
* This reverts commit r206934 and r206935.Rafael Espindola2014-04-231-4/+0
| | | | | | | | | | The original messages were: "Driver: Honor %INCLUDE% when built with MinGW" "Add missing test triples" The test was still failing on OS X. llvm-svn: 206973
* Add missing test triplesReid Kleckner2014-04-231-2/+2
| | | | llvm-svn: 206935
* Driver: Honor %INCLUDE% when built with MinGWReid Kleckner2014-04-231-0/+4
| | | | | | | | | | | Users are expected to pass system includes through the INCLUDE environment variable on Windows. There's no reason to change behavior based on the toolchain used to build Clang. I didn't change the registry searching code because I'm not sure it builds with mingw and I'm not set up to test it. llvm-svn: 206934
* Driver: Skip the -fmodules-cache-path argument in driver crash diagsJustin Bogner2014-04-221-0/+2
| | | | | | | The modules cache path shouldn't be included in crash reports, as it's a system (or run) specific directory. llvm-svn: 206922
* [Driver][ARM64] Add a testcase for r206227.Quentin Colombet2014-04-221-0/+5
| | | | llvm-svn: 206914
* [ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines.James Molloy2014-04-173-0/+89
| | | | | | | This covers all tests in tests/Driver and tests/Preprocessor, but there are some failing tests in test/Sema that need looking into. llvm-svn: 206464
* [ARM64] Teach Targets.cpp about Cortex-A53 and Cortex-A57, and enable more ↵James Molloy2014-04-171-0/+19
| | | | | | tests. llvm-svn: 206463
* [ARM64] Plumb in big-endian - add arm64_be to the many switches where it was ↵James Molloy2014-04-171-0/+6
| | | | | | missing. llvm-svn: 206462
* [ARM64] Default to the 'generic' CPU, unless -arch is present for backwards ↵James Molloy2014-04-171-0/+7
| | | | | | compatibility. llvm-svn: 206461
* Handle -m32 for NetBSD/sparc64 correctly. Extend test case to also checkJoerg Sonnenberger2014-04-168-12/+24
| | | | | | ARM, MIPS and i386 ABIs. llvm-svn: 206416
* [ARM64] Plumb in the -mfpu= flag.James Molloy2014-04-163-1/+13
| | | | llvm-svn: 206395
* ARM: Add command line option to select big or little endianChristian Pirker2014-04-101-16/+78
| | | | llvm-svn: 205967
* AArch64: Add command line option to select big or little endianChristian Pirker2014-04-101-0/+12
| | | | llvm-svn: 205966
* clang-cl: Disable TBAA by default for MSVC compatibilityReid Kleckner2014-04-091-0/+8
| | | | | | | MSVC doesn't have an option to enable TBAA, so make -fstrict-aliasing and -fno-strict-aliasing available in clang-cl. llvm-svn: 205924
* clang-cl: make /Gw map to -fdata-sectionsDavid Majnemer2014-04-072-3/+9
| | | | | | Note that /Gy no longer implies -fdata-sections. llvm-svn: 205716
* Driver: add target definition for Windows on ARMSaleem Abdulrasool2014-04-041-0/+5
| | | | | | | | | This introduces the definitions needed for the Windows on ARM target. Add target definitions for both the MSVC environment and the MSVC + Itanium C++ ABI environment. The Visual Studio definitions correspond to the definitions provided by Visual Studio 2012. llvm-svn: 205650
* Add clang-cl alias to allow users to disable c4005Reid Kleckner2014-04-041-0/+4
| | | | | | | | If we ever want three or more aliases, at that point we should put MSVC warning ids in DiagnosticGroups.td. We can use that to support #pragma warning. llvm-svn: 205598
* Add support for dynamic ASan runtime (on Linux) to Clang driver.Alexey Samsonov2014-04-011-1/+34
| | | | | | Based on http://llvm-reviews.chandlerc.com/D3043 by Yuri Gribov! llvm-svn: 205310
* Fix up compression related test casesDavid Blaikie2014-04-013-9/+13
| | | | | | | | | Fallout from r205261, ensure it doesn't matter how we disable compressed debug info, even if zlib is missing and that we warn when we don't have zlib and don't warn when we do, all while silently suppressing these tests on the systems they weren't intended for... llvm-svn: 205271
* Warn when requesting compress-debug-sections and zlib is not availableDavid Blaikie2014-03-311-0/+4
| | | | | | | Another shot in the dark, since I do have zlib installed. Will be watching the bots for fallout. llvm-svn: 205265
* Remove unused diagnostic + dead test for it.Benjamin Kramer2014-03-311-5/+0
| | | | llvm-svn: 205220
* ARM64: initial clang support commit.Tim Northover2014-03-294-0/+33
| | | | | | | | | | | This adds Clang support for the ARM64 backend. There are definitely still some rough edges, so please bring up any issues you see with this patch. As with the LLVM commit though, we think it'll be more useful for merging with AArch64 from within the tree. llvm-svn: 205100
* Try to fix the cl-options.c test on ARM botsHans Wennborg2014-03-281-5/+7
| | | | | | | | | | | | | | | The test was failing because clang-cl changes the default triple to target MSVC-style Win32. This is kind of wonky, but hasn't been a problem until we started warning: warning: unknown platform, assuming -mfloat-abi=soft Some of the tests in cl-options.c were running with -Werror, causing them to fail. Fixing this by FileCheck-ifying those tests instead of using -Werror. llvm-svn: 205049
* Revert "Link in profile library on Linux using --whole-archive"Duncan P. N. Exon Smith2014-03-281-5/+2
| | | | | | This reverts commit r205012. llvm-svn: 205022
* Link in profile library on Linux using --whole-archiveAlexey Samsonov2014-03-281-2/+5
| | | | llvm-svn: 205012
* Add ARM big endian Target (armeb, thumbeb)Christian Pirker2014-03-281-0/+51
| | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D3096 llvm-svn: 205008
* Use the new Windows environment for target detectionSaleem Abdulrasool2014-03-271-1/+1
| | | | | | | | | This follows the LLVM change to canonicalise the Windows target triple spellings. Rather than treating each Windows environment as a single entity, the environments are now modelled properly as an environment. This is a mechanical change to convert the triple use to reflect that change. llvm-svn: 204978
* Support for -Wa,-compress-debug-sections.David Blaikie2014-03-271-6/+3
| | | | | | Also, while I'm here, support -nocompress-debug-sections too. llvm-svn: 204959
* ARM: be more flexible about how --mhwdiv is accepted.Tim Northover2014-03-261-0/+5
| | | | | | Patch by Gabor Ballabas. llvm-svn: 204807
* Fix an logic error in the clang driver preventing crtfastmath.o from linking ↵Benjamin Kramer2014-03-251-1/+22
| | | | | | | | | | | | | | when -Ofast is used without -ffast-math In gcc using -Ofast forces linking of crtfastmath.o. In the current clang crtfastmath.o is only linked when -ffast-math/-funsafe-math-optimizations passed. It can lead to performance issues, when using only -Ofast without explicit -ffast-math (I faced with it). My patch fixes inconsistency with gcc behaviour and also introduces few tests on it. Patch by Zinovy Nis! Differential Revision: http://llvm-reviews.chandlerc.com/D3114 llvm-svn: 204742
* clang-cl: make /Gy imply -fdata-sections in addition to -ffunction-sectionsHans Wennborg2014-03-251-0/+2
| | | | llvm-svn: 204736
OpenPOWER on IntegriCloud