- Oct 03, 2013
-
-
Rafael Espindola authored
With -### clang return 0, so we have to use FileCheck to see if there was an error. llvm-svn: 191923
-
Eric Christopher authored
llvm-svn: 191921
-
Eric Christopher authored
llvm-svn: 191917
-
Rafael Espindola authored
It looks like clang always produce code with the ieee comparisons, so it is safe to ignore this flag (we still error on -mno-ieee-fp). llvm-svn: 191912
-
Tim Northover authored
Thought I'd checked that before llvm-svn: 191901
-
Tim Northover authored
llvm-svn: 191900
-
- Oct 01, 2013
-
-
Amara Emerson authored
llvm-svn: 191736
-
- Sep 28, 2013
-
-
Simon Atanasyan authored
multi-library path suffix. The code calculates MIPS toolchain specific multi-lib path suffixes like mips16/soft-float/el is moved to the separate function findMultiLibSuffix(). This function called during GCC installation detection and result is stored for the future using. The patch reviewed by Rafael Espindola. http://llvm-reviews.chandlerc.com/D1738 llvm-svn: 191612
-
- Sep 27, 2013
-
-
Rafael Espindola authored
We want the modern behavior most of the time, so inverting the option simplifies the driver and the tests. llvm-svn: 191551
-
Hans Wennborg authored
We started parsing /FI in r191442, and now we can pass it on to the fallback too. llvm-svn: 191537
-
Nick Lewycky authored
both flags to the driver test. llvm-svn: 191486
-
- Sep 26, 2013
-
-
Bob Wilson authored
The previous change caused the driver to translate -Wa,-L to the -msave-temp-labels option for cc1as, but cc1as did not accept that option. This patch follows the same approach used for similar options (-relax-all, -noexecstack) in the previous patch. llvm-svn: 191458
-
Reid Kleckner authored
Patch by Jeff Muizelaar, with added test case. llvm-svn: 191442
-
Jordan Rose authored
-fvar-tracking (which IIUC is on by default in GCC) will still generate an error. llvm-svn: 191439
-
Rafael Espindola authored
They are already handled by the generic fno_bultin_, which also avoids unused warnings. llvm-svn: 191437
-
Rafael Espindola authored
This matches gcc's behavior. llvm-svn: 191434
-
Rafael Espindola authored
It is possible that we should say some of these are unsupported, but this is not any worse than the old behavior of ignoring all unknown -f options. llvm-svn: 191429
-
- Sep 25, 2013
-
-
Rafael Espindola authored
llvm-svn: 191394
-
Rafael Espindola authored
llvm-svn: 191380
-
Rafael Espindola authored
They are cc1 options only, so the driver was ignoring them. llvm-svn: 191379
-
- Sep 24, 2013
-
-
Rafael Espindola authored
llvm-svn: 191328
-
Hans Wennborg authored
We were previously mostly passing it through, but -O0 and -O3 are not valid options to cl.exe. We should translate -O0 to /Od and -O3 to /Ox. -O{1,2,s} get passed through. llvm-svn: 191323
-
Hans Wennborg authored
llvm-svn: 191316
-
Rafael Espindola authored
llvm-svn: 191300
-
Simon Atanasyan authored
this option to the assembler. llvm-svn: 191282
-
Hans Wennborg authored
This solves two problems: 1) MSBuild will not flag the build as unsuccessful just because we print an error in the output, since "error(clang):" doesn't seem to match the regex it's using. 2) It becomes more clear that the diagnostic is coming from clang as supposed to cl.exe. Differential Revision: http://llvm-reviews.chandlerc.com/D1735 llvm-svn: 191250
-
Rafael Espindola authored
This doesn't change a lot since clang still thinks it knows all of the -f*, -m* and -W* options for example. Other than the options clang explicitly claims to know, this fixes pr9701. llvm-svn: 191249
-
Rafael Espindola authored
llvm-svn: 191245
-
Rafael Espindola authored
This is not to say this is the desired behavior, but it makes sure we notice if it changes. llvm-svn: 191242
-
- Sep 23, 2013
-
-
Kostya Serebryany authored
Summary: We enable ASAN's use-after-return instrumentation at compile-time, but still keep it disabled at run-time. This enables the users to flip the flag at run-time using environment variable ASAN_OPTIONS=detect_stack_use_after_return=1 instead of using a separate build. If UAR detection is disabled at run-time, this extra compile-time instrumentation costs very small slowdown. On SPEC 2006 14 tests are not affected at all, 4 tests get ~ 1% slowdown and 453.povray gets 4%. Reviewers: samsonov Reviewed By: samsonov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1741 llvm-svn: 191186
-
- Sep 21, 2013
-
-
Petar Jovanovic authored
A patch to AllocateTarget function to recognize llvm::Triple::NaCl for MIPSEL and return NaClTargetInfo. Additional test has been added to check if the expected macros get defined. llvm-svn: 191124
-
- Sep 20, 2013
-
-
Alexander Potapenko authored
llvm-svn: 191077
-
- Sep 19, 2013
-
-
Hans Wennborg authored
When this flag is enabled, clang-cl falls back to cl.exe if it cannot compile the code itself for some reason. The idea is to use this to help build projects that almost compile with clang-cl, except for some files that can then be built with the fallback mechanism. Differential Revision: http://llvm-reviews.chandlerc.com/D1711 llvm-svn: 191034
-
Amara Emerson authored
llvm-svn: 191001
-
Hans Wennborg authored
I put in the warnings because MSVC has them, but I don't think they're very useful. Clang does not warn about overriding flags in general, e.g. it's perfectly fine to have -fomit-frame-pointer followed by -fno-omit-frame-pointer. We should focus on warning where things get confusing, such as with the /TP and /TC options. In "clang-cl /TC a.c /TP b.cc", the user might not realize that the /TP flag will apply to both files, and we warn about that. Differential Revision: http://llvm-reviews.chandlerc.com/D1718 llvm-svn: 190964
-
- Sep 18, 2013
-
-
Hans Wennborg authored
The /GS- flag is used to turn off run-time buffer security checks (/GS). Since no such checks are enabled in the first place, I think we should just ignore this flag. llvm-svn: 190900
-
- Sep 17, 2013
-
-
Hans Wennborg authored
llvm-svn: 190832
-
Hans Wennborg authored
The test builds an object file to be able to get into linking mode with a valid obj file on the command-line. Using clang-cl for this, which targets win32, caused problems on some buildbots, so just use regular clang. llvm-svn: 190829
-
Hans Wennborg authored
Previously we would warn about unused arguments such as /MD when linking. Clang already has logic to ignore compile-only options, e.g. for -D and -U. This patch extends that to include clang-cl's compile-only options too. Also, some clang-cl options should always be ignored. Doing this earlier means they get ignored both for compilation and link-only invocations. llvm-svn: 190825
-
Hans Wennborg authored
We previously ignored /wd<n>, but I think we can ignore the rest too. llvm-svn: 190819
-