- Apr 24, 2013
-
-
Chad Rosier authored
Part of rdar://13622687 llvm-svn: 180207
-
Chad Rosier authored
Part of rdar://13622687 llvm-svn: 180206
-
Chad Rosier authored
Specifically, allow the flags that fall under this umbrella (i.e., -O3, -ffast-math, and -fstrict-aliasing) to be overridden/disabled with the individual -O[0|1|2|s|z]/-fno- flags. This also fixes the handling of various floating point optimization flags that are modified by -ffast-math (and thus -Ofast as well). Part of rdar://13622687 llvm-svn: 180204
-
- Apr 22, 2013
-
-
Simon Atanasyan authored
driver tests. These tests check the driver only and do not require mips target. llvm-svn: 180042
-
- Apr 21, 2013
-
-
Simon Atanasyan authored
Mips backend. llvm-svn: 179981
-
Simon Atanasyan authored
of system include directories with extern "C" semantics. llvm-svn: 179979
-
- Apr 20, 2013
-
-
Simon Atanasyan authored
Sourcery CodeBench and modern FSF Mips toolchains require a bit more complicated algorithm to calculate headers, libraries and sysroot paths than implemented by Clang driver now. The main problem is that all these paths depend on a set of command line arguments additionally to a target triple value. For example, let $TC is a toolchain installation directory. If we compile big-endian 32-bit mips code, crtbegin.o is in the $TC/lib/gcc/mips-linux-gnu/4.7.2 folder and the toolchain's linker requires --sysroot=$TC/mips-linux-gnu/libc argument. If we compile little-endian 32-bit soft-float mips code, crtbegin.o is in the $TC/lib/gcc/mips-linux-gnu/4.7.2/soft-float/el folder and the toolchain's linker requires --sysroot=$TC/mips-linux-gnu/libc/soft-float/el argument. 1. Calculate MultiarchSuffix using all necessary command line options and use this MultiarchSuffix to detect crtbegin.o location in the GCCInstallationDetector::ScanLibDirForGCCTriple() routine. 2. If a user does not provide --sysroot argument to the driver explicitly, calculate new sysroot value based on command line options. Then use this calculated sysroot path: a. To populate a file search paths list in the Linux::Linux() constructor. b. To find Mips toolchain specific include headers directories in the Linux::AddClangSystemIncludeArgs() routine. c. To provide -–sysroot argument for a linker. Note: - The FSF's tree slightly differs (folder names) and is not supported yet. - New addExternCSystemIncludeIfExits() routine is a temporary solution. I plan to move path existence check to the addExternCSystemInclude() routine by a separate commit. The patch reviewed by Rafael Espindola. http://llvm-reviews.chandlerc.com/D644 llvm-svn: 179934
-
- Apr 17, 2013
-
-
Nico Weber authored
See http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html llvm-svn: 179728
-
- Apr 16, 2013
-
-
Daniel Dunbar authored
- There is no reason to have a modules specific flag for disabling autolinking. Instead, convert the existing flag into -fno-autolink (which should cover other autolinking code generation paths like #pragmas if and when we support them). llvm-svn: 179612
-
Jyotsna Verma authored
CodeGenCXX/vtable-debug-info.cpp Driver/objc++-cpp-output.mm Driver/objc-cpp-output.m llvm-svn: 179602
-
- Apr 15, 2013
-
-
Nadav Rotem authored
llvm-svn: 179507
-
Nadav Rotem authored
llvm-svn: 179506
-
- Apr 14, 2013
-
-
Simon Atanasyan authored
llvm-svn: 179489
-
Rafael Espindola authored
llvm-svn: 179484
-
Simon Atanasyan authored
two new options –msingle-float and –mdouble-float. These options can be used simultaneously with float ABI selection options (-mfloat-abi, -mhard-float, -msoft-float). They mark whether a floating-point coprocessor supports double-precision operations. llvm-svn: 179481
-
Rafael Espindola authored
I have checked that the test still fails when the "|| !P.isRegularFile()" from the original patch is removed. llvm-svn: 179464
-
- Apr 12, 2013
-
-
Jyotsna Verma authored
1) Driver/output-file-is-dir.c - Checks for object file which can't be created for Hexagon since assembler is unavailable. 2) PCH/cxx-typeid.cpp - 'typeinfo' include file is unavailable for Hexagon. llvm-svn: 179385
-
John McCall authored
llvm-svn: 179338
-
John McCall authored
Patch by John Marino. llvm-svn: 179334
-
- Apr 11, 2013
-
-
Bob Wilson authored
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
-
Jyotsna Verma authored
llvm-svn: 179299
-
Reid Kleckner authored
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
-
- Apr 10, 2013
-
-
Eric Christopher authored
just assembling a file and have passed the option. llvm-svn: 179218
-
Reid Kleckner authored
The escaping interaction between Python and grep doesn't work on my system. This change fixes the tests for me. llvm-svn: 179214
-
Dmitri Gribenko authored
llvm-svn: 179181
-
- Apr 09, 2013
-
-
Alexey Samsonov authored
One more follow-up to r179082 - parse PIC/PIE arguments even on platfroms that force default PIC (like Darwin x86-64), otherwise specifying -fPIC will produce bogus unused argument warning llvm-svn: 179092
-
Alexey Samsonov authored
llvm-svn: 179089
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D502 llvm-svn: 179082
-
- Apr 04, 2013
-
-
Eric Christopher authored
support. Caveat: Other than the existing segmented stacks support, no claims are made of this working. llvm-svn: 178744
-
- Apr 03, 2013
-
-
Jyotsna Verma authored
llvm-svn: 178669
-
Eric Christopher authored
llvm-svn: 178607
-
- Apr 02, 2013
-
-
Matt Beaumont-Gay authored
llvm-svn: 178510
-
- Apr 01, 2013
-
-
Tom Stellard authored
v2: - Add a test case v3: - Use the -### clang option in the tests llvm-svn: 178499
-
- Mar 30, 2013
-
-
Hal Finkel authored
gcc provides -mfprnd and -mno-fprnd for controlling the fprnd target feature; support these options as well. llvm-svn: 178414
-
- Mar 28, 2013
-
-
Hal Finkel authored
gcc provides -mpopcntd and -mno-popcntd for controlling the popcntd target feature; support these options as well. llvm-svn: 178235
-
Simon Atanasyan authored
toolchain flags for MIPS targets. llvm-svn: 178232
-
Hal Finkel authored
gcc provides -mmfcrf and -mno-mfcrf for controlling what we call the mfocrf target feature. Also, PPC is now making use of the static function AddTargetFeature used by the Mips Driver code. llvm-svn: 178227
-
- Mar 24, 2013
-
-
Rafael Espindola authored
llvm-svn: 177840
-
Benjamin Kramer authored
llvm-svn: 177838
-
- Mar 23, 2013
-
-
Bob Wilson authored
Changing -ccc-install-dir to affect cc1's resource-dir setting broke our internal LNT tests. After discussing the situation with Jim, we've decided to pursue an alternate approach. We really want the resource-dir to be located relative to clang, even when using -ccc-install-dir, but we're going to add a fallback setting for the libc++ headers if they don't exist alongside the compiler. llvm-svn: 177815
-