- Aug 19, 2013
-
-
Alexey Samsonov authored
llvm-svn: 188675
-
NAKAMURA Takumi authored
AFAIK, there are no -W options for gcc-as and gcc-ld. It caused failure to build clang with gcc-4.7 on cygwin. FIXME: Could we recategorize Options for gcc-as and gcc-ld? llvm-svn: 188668
-
Alexey Samsonov authored
llvm-svn: 188667
-
Alexey Samsonov authored
llvm-svn: 188666
-
Robert Lytton authored
llvm-svn: 188663
-
Alexey Samsonov authored
llvm-svn: 188662
-
Alexey Samsonov authored
Summary: This change turns SanitizerArgs into high-level options stored in the Driver, which are parsed lazily. This fixes an issue of multiple copies of the same diagnostic message produced by sanitizer arguments parser. Reviewers: rsmith Reviewed By: rsmith CC: chandlerc, eugenis, cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1341 llvm-svn: 188660
-
- Aug 15, 2013
-
-
Adrian Prantl authored
llvm-svn: 188414
-
- Aug 14, 2013
-
-
Shuxin Yang authored
Thank Richard Smith for figuring out this problem. llvm-svn: 188408
-
Shuxin Yang authored
Tested on multiple OSes. llvm-svn: 188406
-
Benjamin Kramer authored
llvm-svn: 188405
-
Hans Wennborg authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1394 llvm-svn: 188346
-
Hans Wennborg authored
This adds support for the /link option, which forwards subsequent arguments to the linker. The test for this will only work when targetting win32. Since that's the only target where clang-cl makes sense, use that target by default. Differential Revision: http://llvm-reviews.chandlerc.com/D1388 llvm-svn: 188331
-
Nick Lewycky authored
llvm-svn: 188325
-
- Aug 13, 2013
-
-
Arnold Schwaighofer authored
We used to decide whether to really vectorize depending on the optimization level in PassManagerBuilder. This patch moves this decision to the clang driver. We look at the optimization level and whether the f(no-)vectorize is set and decide whether to vectorize. This allows us to simplify the logic in PassManagerBuilder to just a check for whether the vectorizer should run or not. We now do the right thing for: $ clang -O1 -fvectorize $ clang -fno-vectorize -O3 llvm-svn: 188280
-
Robert Lytton authored
llvm-svn: 188258
-
Hans Wennborg authored
llvm-svn: 188213
-
- Aug 12, 2013
-
-
Hans Wennborg authored
This is used to name the linked output file. Differential Revision: http://llvm-reviews.chandlerc.com/D1344 llvm-svn: 188210
-
Hans Wennborg authored
llvm-svn: 188190
-
Jack Carter authored
This patch adds -mmsa and -mno-msa to the options supported by clang to enable and disable support for MSA. When MSA is enabled, a predefined macro '__mips_msa' is defined to 1. Patch by Daniel Sanders llvm-svn: 188184
-
Tim Northover authored
Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
-
- Aug 10, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 188126
-
- Aug 09, 2013
-
-
Alexey Samsonov authored
llvm-svn: 188068
-
Hans Wennborg authored
This option prints information about #included files to stderr. Clang could already do it, this patch just teaches the existing code about the /showIncludes style and adds the flag. Differential Revision: http://llvm-reviews.chandlerc.com/D1333 llvm-svn: 188037
-
Hans Wennborg authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1328 llvm-svn: 188027
-
- Aug 08, 2013
-
-
Hans Wennborg authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1329 llvm-svn: 188000
-
Reid Kleckner authored
This reverts commit r187991 and adjusts the comment. /Za is much more involved, and we don't want to give anyone the impression we actually support it. llvm-svn: 187998
-
Hans Wennborg authored
The /Za flag should probably do more, but let's start with this. Differential Revision: http://llvm-reviews.chandlerc.com/D1320 llvm-svn: 187991
-
Chandler Carruth authored
'-fno-unroll-loops'. The option to the backend is even called 'DisableUnrollLoops'. This is precisely the form that Clang *didn't* support. We didn't recognize the flag, we didn't pass it to the CC1 layer, and even if we did we wouldn't use it. Clang only inspected the positive form of the flag, and only did so to enable loop unrolling when the optimization level wasn't high enough. This only occurs for an optimization level that even has a chance of running the loop unroller when optimizing for size. This commit wires up the 'no' variant, and switches the code to actually follow the standard flag pattern of using the last flag and allowing a flag in either direction to override the default. I think this is still wrong. I don't know why we disable the loop unroller entirely *from Clang* when optimizing for size, as the loop unrolling pass *already has special logic* for the case where the function is attributed as optimized for size! We should really be trusting that. Maybe in a follow-up patch, I don't really want to change behavior here. llvm-svn: 187969
-
Hans Wennborg authored
These flags set some preprocessor macros and injects a dependency on the runtime library into the object file, which later is picked up by the linker. This also adds a new CC1 flag for adding a dependent library. Differential Revision: http://llvm-reviews.chandlerc.com/D1315 llvm-svn: 187945
-
- Aug 07, 2013
-
-
Hans Wennborg authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1302 llvm-svn: 187840
-
Hans Wennborg authored
This implements support for the /Fo option, which is used to set the filename or output dir for object files. Differential Revision: http://llvm-reviews.chandlerc.com/D1302 llvm-svn: 187820
-
- Aug 06, 2013
-
-
Larisse Voufo authored
Fixing commit r187768: Moved diagnosis of forward declarations of variable templates from Parser to Sema. llvm-svn: 187770
-
Larisse Voufo authored
llvm-svn: 187768
-
NAKAMURA Takumi authored
I met a message, "fatal error: file 'nul' modified since it was first processed". llvm-svn: 187767
-
Hans Wennborg authored
These are used to specify source files, and whether to treat source files as C or C++. Differential Revision: http://llvm-reviews.chandlerc.com/D1290 llvm-svn: 187760
-
- Aug 03, 2013
-
-
Bob Wilson authored
Related to <rdar://problem/14578094>. llvm-svn: 187680
-
Hans Wennborg authored
> This adds a bunch of options to clang-cl. Notably, this includes > all the options that get passed when doing a default build of a > command-line project with msbuild.exe in Debug and Release modes, > and I believe all flags from Reid's original patch. The original commit was reverted in r187640 after it broke the Mac build. This should now be fixed, by Clang r187668, LLVM r187675, and putting a -- before %s in the test. llvm-svn: 187679
-
- Aug 02, 2013
-
-
Hans Wennborg authored
It broke the "phase1 - sanity" buildbot. Reverting until we can figure out what's going on. And Eric says it broke all current Mac builds actually. llvm-svn: 187640
-
Hans Wennborg authored
This adds a bunch of options to clang-cl. Notably, this includes all the options that get passed when doing a default build of a command-line project with msbuild.exe in Debug and Release modes, and I believe all flags from Reid's original patch. Differential Revision: http://llvm-reviews.chandlerc.com/D1264 llvm-svn: 187637
-