Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | use EP_OptimizerLast instead of EP_ScalarOptimizerLate for ThreadSanitizer | Kostya Serebryany | 2012-03-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 153356 | |||||
* | Add a flag -fthread-sanitizer. | Kostya Serebryany | 2012-03-01 | 1 | -1/+13 | |
| | | | | | | | | | | This flag enables ThreadSanitizer instrumentation committed to llvm as r150423. The patch includes one test for -fthread-sanitizer and one similar test for -faddress-sanitizer. This patch does not modify the linker flags (as we do it for -faddress-sanitizer) because the run-time library is not yet committed and it's structure in compiler-rt is not 100% clear. The users manual wil be changed in a separate commit. llvm-svn: 151846 | |||||
* | Allocate TargetLibraryInfo for the CodeGen passes. Otherwise, it's instantiated | Chad Rosier | 2012-02-29 | 1 | -0/+6 | |
| | | | | | | | | | by the BAA pass, which uses the default TargetLibraryInfo constructor. Unfortunately, the default TargetLibraryInfo constructor assumes all library calls are available and thus ignores -fno-builtin. rdar://10947759 llvm-svn: 151745 | |||||
* | Prevent llvm.lifetime intrinsics from being emitted at -O0. | Chad Rosier | 2012-02-25 | 1 | -1/+5 | |
| | | | | | | rdar://10921594 llvm-svn: 151430 | |||||
* | Make use of const-correct ParseCommandLineOptions | David Blaikie | 2012-02-07 | 1 | -3/+2 | |
| | | | | llvm-svn: 150000 | |||||
* | Reserve a moderate amount of space for the back-end arguments. | Bill Wendling | 2012-02-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 149973 | |||||
* | Fix -ftrap-function fallout from llvm r145714. <rdar://problem/10799325> | Bob Wilson | 2012-02-03 | 1 | -0/+1 | |
| | | | | | | | | | That llvm change removed the -trap-func backend option, so that using -ftrap-function with clang would cause the backend to complain. Fix it by adding the trap function name to the CodeGenOptions and passing it through to the TargetOptions. llvm-svn: 149679 | |||||
* | Add support for -fno-optimize-sibling-calls. Currently only implemented in the | Nick Lewycky | 2012-01-23 | 1 | -0/+1 | |
| | | | | | | X86 backend in LLVM. llvm-svn: 148689 | |||||
* | Enable the new ObjC ARC autorelease pool elimination pass. | Dan Gohman | 2012-01-17 | 1 | -0/+7 | |
| | | | | llvm-svn: 148331 | |||||
* | Per discussion on the list, remove BitcodeVerify pass to reimplement as a ↵ | Chad Rosier | 2011-12-14 | 1 | -3/+0 | |
| | | | | | | free function. llvm-svn: 146530 | |||||
* | Add frontend flags to enable bitcode verifier pass. | Chad Rosier | 2011-12-12 | 1 | -0/+3 | |
| | | | | llvm-svn: 146441 | |||||
* | Stack realignment is a tristate. Add -mno-stackrealign to turn off all stack | Nick Lewycky | 2011-12-06 | 1 | -5/+2 | |
| | | | | | | realignment, even with locals with alignment exceeding the ABI guarantee. llvm-svn: 145909 | |||||
* | Add -mstack-alignment=X and fix -mstackrealign handling now that the | Joerg Sonnenberger | 2011-12-05 | 1 | -0/+5 | |
| | | | | | | backend options are gone. llvm-svn: 145868 | |||||
* | Update for change to LLVM TargetMachine API in r145714. | Nick Lewycky | 2011-12-02 | 1 | -34/+37 | |
| | | | | llvm-svn: 145715 | |||||
* | make asan work at -O0, clang part. Patch by glider@google.com | Kostya Serebryany | 2011-11-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 145531 | |||||
* | implement __has_feature(address_sanitizer); also use ↵ | Kostya Serebryany | 2011-11-22 | 1 | -1/+1 | |
| | | | | | | LangOpts.AddressSanitizer instead of CodeGenOpts.AddressSanitizer llvm-svn: 145054 | |||||
* | Add -f[no-]address-sanitizer flag | Kostya Serebryany | 2011-11-16 | 1 | -0/+10 | |
| | | | | llvm-svn: 144800 | |||||
* | Match LLVM API change. | Evan Cheng | 2011-11-16 | 1 | -9/+10 | |
| | | | | llvm-svn: 144789 | |||||
* | Turn on the new .file directive when appropriate, instead of turning it off. | Nick Lewycky | 2011-10-31 | 1 | -2/+2 | |
| | | | | llvm-svn: 143327 | |||||
* | Wire up support for the controlling the extended dwarf .file directive. With | Nick Lewycky | 2011-10-17 | 1 | -0/+2 | |
| | | | | | | | r142300 but not this patch, clang -S may emit .s files that assemblers other than llvm-mc can't parse. llvm-svn: 142301 | |||||
* | Rename Diagnostic to DiagnosticsEngine as per issue 5397 | David Blaikie | 2011-09-25 | 1 | -3/+4 | |
| | | | | llvm-svn: 140478 | |||||
* | [driver] Add -mglobal-merge/-mno-global-merge machine options to ↵ | Chad Rosier | 2011-08-26 | 1 | -0/+2 | |
| | | | | | | | | | enable/disable merging of globals during codegen. Fixes <rdar://problem/10017909>. llvm-svn: 138612 | |||||
* | Match LLVM change: TargetRegistry and TargetSelect have been moved to Support. | Evan Cheng | 2011-08-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 138451 | |||||
* | Update for LLVM change in PassManagerBuilder. | Rafael Espindola | 2011-08-02 | 1 | -1/+5 | |
| | | | | llvm-svn: 136728 | |||||
* | Unbreak build after API change. | Benjamin Kramer | 2011-07-20 | 1 | -6/+7 | |
| | | | | llvm-svn: 135585 | |||||
* | Match createTargetMachine API change. | Evan Cheng | 2011-07-19 | 1 | -11/+13 | |
| | | | | llvm-svn: 135469 | |||||
* | Add the ObjC ARC optimization passes manually, now that they're not | Dan Gohman | 2011-07-05 | 1 | -3/+33 | |
| | | | | | | hardwired into the default pass list. llvm-svn: 134445 | |||||
* | createTargetMachine now takes a CPU string. | Evan Cheng | 2011-06-30 | 1 | -3/+3 | |
| | | | | llvm-svn: 134128 | |||||
* | SubtargetFeature.h has been moved to MC. | Evan Cheng | 2011-06-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 134050 | |||||
* | Add support for -Wa,--noexecstack when building from a non-assembly file. For | Nick Lewycky | 2011-06-21 | 1 | -0/+2 | |
| | | | | | | | an assembly file it worked correctly, while for a .c file it would given an error about how --noexecstack is not a supported argument to -Wa. llvm-svn: 133489 | |||||
* | Update for llvm api change. | Rafael Espindola | 2011-05-25 | 1 | -1/+0 | |
| | | | | llvm-svn: 132034 | |||||
* | adjust to mainline api change. | Chris Lattner | 2011-05-21 | 1 | -11/+9 | |
| | | | | llvm-svn: 131815 | |||||
* | switch clang off StandardPasses.h onto PassManagerBuilder.h | Chris Lattner | 2011-05-21 | 1 | -36/+30 | |
| | | | | llvm-svn: 131808 | |||||
* | Conditionalize the use of 4.4 or 4.2 format based on the target. | Bill Wendling | 2011-05-17 | 1 | -4/+6 | |
| | | | | | | <rdar://problem/8107317> llvm-svn: 131504 | |||||
* | Implement -fno-dwarf2-cfi-asm. | Rafael Espindola | 2011-04-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 130616 | |||||
* | Add -Oz option and use it to set the inline threshold to 25. | Bob Wilson | 2011-04-29 | 1 | -1/+3 | |
| | | | | | | Radar 9333566. Patch by Chad Rosier! llvm-svn: 130554 | |||||
* | Wire up the -ftest-coverage and -fprofile-arcs flags to .gcno file emission (at | Nick Lewycky | 2011-04-21 | 1 | -0/+8 | |
| | | | | | | | | | compile time) and .gcda emission (at runtime). --coverage enables both. This does not yet add the profile_rt library to the link step if -fprofile-arcs is enabled when linking. llvm-svn: 129956 | |||||
* | Added *hidden* flags -print-options and -print-all-options so | Andrew Trick | 2011-04-05 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results. Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation. llvm-svn: 128911 | |||||
* | whitespace | Andrew Trick | 2011-04-05 | 1 | -3/+3 | |
| | | | | llvm-svn: 128908 | |||||
* | Set AAPCS-VFP calling convention accordingly and hard float ABI command ↵ | Sandeep Patel | 2011-04-05 | 1 | -1/+1 | |
| | | | | | | handling. llvm-svn: 128866 | |||||
* | Integrated-As: Support -Wa,-L when using the integrated assembler. | Daniel Dunbar | 2011-03-28 | 1 | -0/+2 | |
| | | | | llvm-svn: 128433 | |||||
* | Frontend: Add a more explicit -backend-option flag for passing backend command | Daniel Dunbar | 2011-03-22 | 1 | -0/+2 | |
| | | | | | | | | line options, instead of leveraging the blanket -mllvm option. - This allows using the frontend itself without requiring the backend have those options available (i.e., if the target wasn't built). llvm-svn: 128087 | |||||
* | If -fno-builtin is passed, tell TargetLibraryInfo to | Chris Lattner | 2011-02-18 | 1 | -2/+9 | |
| | | | | | | turn off all builtin optimizations. llvm-svn: 125979 | |||||
* | install a TargetLibraryInfo configured with the appropriate | Chris Lattner | 2011-02-18 | 1 | -3/+12 | |
| | | | | | | | target triple. This would be a decent place to add -fno-builtin info for example. llvm-svn: 125971 | |||||
* | Implement -cl-mad-enable | Peter Collingbourne | 2010-12-04 | 1 | -0/+1 | |
| | | | | llvm-svn: 120881 | |||||
* | Implement -cl-unsafe-math-optimizations | Peter Collingbourne | 2010-12-04 | 1 | -0/+1 | |
| | | | | llvm-svn: 120879 | |||||
* | Implement -cl-finite-math-only | Peter Collingbourne | 2010-12-04 | 1 | -0/+2 | |
| | | | | llvm-svn: 120878 | |||||
* | IRgen: Change CodeGenPasses to be a PassManager, so it can have CallGraphSCC or | Daniel Dunbar | 2010-09-17 | 1 | -11/+5 | |
| | | | | | | Module. Patch by Mike Gist! llvm-svn: 114171 | |||||
* | Driver/IRgen: Add support for -momit-leaf-frame-pointer. | Daniel Dunbar | 2010-07-01 | 1 | -1/+15 | |
| | | | | llvm-svn: 107367 | |||||
* | Move CodeGenOptions.h *back* into Frontend. This should have been done when the | Chandler Carruth | 2010-06-15 | 1 | -1/+1 | |
| | | | | | | dependency edge was reversed such that CodeGen depends on Frontend. llvm-svn: 106065 |