| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Frontend: Add basic -H support. | Daniel Dunbar | 2010-08-24 | 1 | -0/+1 |
| | | | | | | | | - I didn't implement the GCC "multiple include guard" detection parts, because it doesn't seem useful or obvious. llvm-svn: 111983 | ||||
| * | Driver/Clang: Forward -Wa, and -Xassembler to clang -cc1 when using the | Daniel Dunbar | 2010-08-24 | 1 | -3/+8 |
| | | | | | | | | integrated assembler. For now this mostly just means that we will error out if someone tries to use this mechanism to send an argument to the assembler. llvm-svn: 111921 | ||||
| * | Driver: Move Clang "triple" computation routines to method on the | Daniel Dunbar | 2010-08-23 | 1 | -81/+2 |
| | | | | | | | | | | | | ToolChain. This fixes a potenial bad cast when running Clang on PPC code, since the tool chain in effect is not a subclass of the Darwin one, but we were treating it like it was. - This introduces some gross code duplication, but the right fix for it is to just move the Driver to start depending on the targets in libBasic, so I am not planning on fixing it immediately. llvm-svn: 111856 | ||||
| * | Visual Studio tools used on win32 hosts when targeting win32. | Michael J. Spencer | 2010-08-21 | 1 | -0/+41 |
| | | | | | llvm-svn: 111748 | ||||
| * | Add machine-parseable Fix-It output as part of diagnostics, under the | Douglas Gregor | 2010-08-19 | 1 | -0/+1 |
| | | | | | | | flag -fdiagnostics-parseable-fixits, from Eelis van der Weegen! llvm-svn: 111557 | ||||
| * | Pass some things to the linker that gcc passes. -r is the only one of these ↵ | David Chisnall | 2010-08-15 | 1 | -0/+4 |
| | | | | | | | that I'm sure about, but the others seem to be listed on FreeBSD by gcc -dumpspecs, so I hope they're right. Apparently -r is also not passed on GNU/Linux (and should be), but I can't see where the toolchain definition for this platform live. llvm-svn: 111114 | ||||
| * | Switch on PCH for C++. C++ fans all over the world rejoice. | Argyrios Kyrtzidis | 2010-08-11 | 1 | -6/+2 |
| | | | | | llvm-svn: 110879 | ||||
| * | Driver/Darwin: Pass -demangle when linking, if the linker supports it. | Daniel Dunbar | 2010-08-11 | 1 | -0/+16 |
| | | | | | llvm-svn: 110873 | ||||
| * | Driver: Add -mlinker-version=, which forwards to -target-linker-version. | Daniel Dunbar | 2010-08-11 | 1 | -0/+6 |
| | | | | | llvm-svn: 110872 | ||||
| * | Turn on idempotent operations checker when using --analyze. | Ted Kremenek | 2010-08-10 | 1 | -0/+1 |
| | | | | | llvm-svn: 110695 | ||||
| * | Run the assembler instead of gcc on Linux. | Rafael Espindola | 2010-08-10 | 1 | -0/+37 |
| | | | | | llvm-svn: 110635 | ||||
| * | Make -funroll-loops turn on loop unrolling in the optimizer instead | Eric Christopher | 2010-08-07 | 1 | -0/+1 |
| | | | | | | | of just ignoring it. llvm-svn: 110525 | ||||
| * | Driver: Don't forward any -g options to GCC, when using it to drive the | Daniel Dunbar | 2010-08-03 | 1 | -0/+5 |
| | | | | | | | | assembler. - Fixes PR6218, hopefully. llvm-svn: 110111 | ||||
| * | Driver: Add Compilation::addCommand and switch tools to using it, now that we | Daniel Dunbar | 2010-08-02 | 1 | -47/+44 |
| | | | | | | | don't have to deal with nested jobs. llvm-svn: 110015 | ||||
| * | Driver: Eliminate special InputInfo kind for pipes, it is now unused. | Daniel Dunbar | 2010-08-02 | 1 | -121/+34 |
| | | | | | llvm-svn: 110013 | ||||
| * | Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by Jonathan | Daniel Dunbar | 2010-08-01 | 1 | -1/+11 |
| | | | | | | | Gray. llvm-svn: 109994 | ||||
| * | Driver/Darwin: Set -force_cpusubtype_ALL only by default on x86. | Daniel Dunbar | 2010-07-22 | 1 | -1/+3 |
| | | | | | llvm-svn: 109074 | ||||
| * | Add -lstdc++ to DragonFly tools. | Rafael Espindola | 2010-07-20 | 1 | -0/+5 |
| | | | | | | | Patch by Sascha Wildner. llvm-svn: 108830 | ||||
| * | Driver: Make -fnext-runtime the default when rewriting Objective-C. | Daniel Dunbar | 2010-07-19 | 1 | -2/+7 |
| | | | | | llvm-svn: 108741 | ||||
| * | Driver: Fix a possible use after free. | Daniel Dunbar | 2010-07-18 | 1 | -4/+4 |
| | | | | | llvm-svn: 108659 | ||||
| * | Driver: When re'execing clang, use path to the main executable instead of | Daniel Dunbar | 2010-07-14 | 1 | -6/+4 |
| | | | | | | | | looking up Clang in the normal search paths (which may end up finding the wrong clang). llvm-svn: 108346 | ||||
| * | Driver: Remove some unused arguments. | Daniel Dunbar | 2010-07-14 | 1 | -49/+49 |
| | | | | | llvm-svn: 108345 | ||||
| * | Driver/Darwin: Pass -pie/-no_pie to the linker when -fpie/-fno-pie and friends | Daniel Dunbar | 2010-07-13 | 1 | -2/+9 |
| | | | | | | | are explicitly given. llvm-svn: 108297 | ||||
| * | Introduce -f{no-}spell-checking options to enable/disable | Douglas Gregor | 2010-07-09 | 1 | -0/+4 |
| | | | | | | | | spell-checking. By default, spell-checking is enabled for Clang (obviously) but disabled in CIndex for performance reasons. llvm-svn: 107992 | ||||
| * | add driver support for minix, patch by Kees van Reeuwijk | Chris Lattner | 2010-07-07 | 1 | -29/+157 |
| | | | | | | | from PR7583 llvm-svn: 107788 | ||||
| * | Driver/IRgen: Add support for -momit-leaf-frame-pointer. | Daniel Dunbar | 2010-07-01 | 1 | -0/+5 |
| | | | | | llvm-svn: 107367 | ||||
| * | Set the default arch based on the triple. | Rafael Espindola | 2010-06-28 | 1 | -46/+55 |
| | | | | | llvm-svn: 107021 | ||||
| * | Use softfp for linux gnueabi, keep the warning for everything else. | Rafael Espindola | 2010-06-27 | 1 | -2/+9 |
| | | | | | llvm-svn: 106984 | ||||
| * | Implement support for -fwrapv, rdar://7221421 | Chris Lattner | 2010-06-26 | 1 | -0/+1 |
| | | | | | | | | | | | | | As part of this, pull together trapv handling into the same enum. This also add support for NSW multiplies. This also makes PCH disagreement on overflow behavior silent, since it really doesn't matter except for warnings and codegen (no macros get defined etc). llvm-svn: 106956 | ||||
| * | Driver: Remove some dead code left around after a refactoring. Found by the | Daniel Dunbar | 2010-06-22 | 1 | -10/+0 |
| | | | | | | | Clang static analyzer! llvm-svn: 106568 | ||||
| * | implement support for -finstrument-functions, patch by Nelson | Chris Lattner | 2010-06-22 | 1 | -0/+2 |
| | | | | | | | Elhage! llvm-svn: 106507 | ||||
| * | Change the test for which ABI/CC to use on ARM to be base on the environment | Rafael Espindola | 2010-06-16 | 1 | -12/+5 |
| | | | | | | | (the last argument of the triple). llvm-svn: 106131 | ||||
| * | Implement -fvisibility-inlines-hidden. <rdar://problem/7819834> | Douglas Gregor | 2010-06-15 | 1 | -0/+2 |
| | | | | | llvm-svn: 106003 | ||||
| * | Driver: Eliminate uses of Arg::getIndex. | Daniel Dunbar | 2010-06-14 | 1 | -2/+3 |
| | | | | | | | Also, fix a memory leak. llvm-svn: 105963 | ||||
| * | Driver: Fix arg_iterator typing to reflect that it is really an iterator ↵ | Daniel Dunbar | 2010-06-11 | 1 | -16/+16 |
| | | | | | | | over Arg*s. llvm-svn: 105838 | ||||
| * | Add an option -fshow-overloads=best|all to limit the number of overload | Jeffrey Yasskin | 2010-06-11 | 1 | -0/+3 |
| | | | | | | | | candidates printed. We default to 'all'. At the moment, 'best' prints only the first 4 overloads, but we'll improve that over time. llvm-svn: 105815 | ||||
| * | Implement -fcaret-diagnostics to undo -fno-caret-diagnostics. | Jeffrey Yasskin | 2010-06-08 | 1 | -1/+5 |
| | | | | | llvm-svn: 105597 | ||||
| * | Driver: Support invoking Clang on .ll or .bc inputs. | Daniel Dunbar | 2010-06-07 | 1 | -10/+20 |
| | | | | | | | | | | | | | | | | - We actually pretend that we have two separate types for LLVM assembly/bitcode because we need to use the standard suffixes with LTO ('clang -O4 -c t.c' should generate 't.o'). It is now possible to do something like: $ clang -emit-llvm -S t.c -o t.ll ... assorted other compile flags ... $ clang -c t.ll -o t.o ... assorted other compile flags ... and expect that the output will be almost* identical to: $ clang -c t.c -o t.o ... assorted other compile flags ... because all the target settings (default CPU, target features, etc.) will all be initialized properly by the driver/frontend. *: This isn't perfect yet, because in practice we will end up running the optimization passes twice. It's possible to get something equivalent out with a well placed -mllvm -disable-llvm-optzns, but I'm still thinking about the cleanest way to solve this problem more generally. llvm-svn: 105584 | ||||
| * | Driver: Change -dwarf-debug-flags option to pass the original command line | Daniel Dunbar | 2010-06-04 | 1 | -2/+7 |
| | | | | | | | arguments after translation, instead of the -cc1 level arguments. llvm-svn: 105476 | ||||
| * | Driver/Darwin: Model dsymutil properly, as a separate action/tool kind which is | Daniel Dunbar | 2010-06-04 | 1 | -42/+0 |
| | | | | | | | | added as the last output step, instead of just hacking it into the link step. - Among other things, this fixes dSYM generation when using multiple -arch options. llvm-svn: 105475 | ||||
| * | Driver: Add an explicit dsymutil action. | Daniel Dunbar | 2010-06-04 | 1 | -0/+20 |
| | | | | | llvm-svn: 105474 | ||||
| * | Driver: Spell -relax-all correctly when calling the cc1as tool. | Daniel Dunbar | 2010-05-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 104955 | ||||
| * | Driver: Update -O -> -O2 replacement for addition of -O0 option. | Daniel Dunbar | 2010-05-27 | 1 | -1/+2 |
| | | | | | llvm-svn: 104823 | ||||
| * | Driver: Add support for -m[no-]relax-all, and make it the default at -O0. | Daniel Dunbar | 2010-05-27 | 1 | -0/+18 |
| | | | | | llvm-svn: 104815 | ||||
| * | Daniel re-educated me about what Alias does and does not do. Turn that off for | Chandler Carruth | 2010-05-22 | 1 | -0/+8 |
| | | | | | | | | | '-fasm' and explicitly map from that flag to -fgnu-keywords in the driver. Turn off the driver in the lexer test for this madness and add a test to the driver that the translation actually works. llvm-svn: 104428 | ||||
| * | Driver: Add a tool definition for the Clang integrated assembler. | Daniel Dunbar | 2010-05-20 | 1 | -0/+52 |
| | | | | | llvm-svn: 104280 | ||||
| * | Expose -fobjc-nonfragile-abi2 as a top-level clang driver option. Fixes ↵ | Ted Kremenek | 2010-05-20 | 1 | -0/+5 |
| | | | | | | | <rdar://problem/8007063>. llvm-svn: 104205 | ||||
| * | Driver: Make -fverbose-asm the default for platforms where the integrated | Daniel Dunbar | 2010-05-14 | 1 | -1/+8 |
| | | | | | | | assembler defaults to on. llvm-svn: 103825 | ||||
| * | Driver/Darwin/i386: Don't allow compiling C++ with -fapple-kext, we don't ↵ | Daniel Dunbar | 2010-05-12 | 1 | -1/+11 |
| | | | | | | | support the necessary ABI yet. llvm-svn: 103632 | ||||
| * | Simplify. | Daniel Dunbar | 2010-05-12 | 1 | -3/+3 |
| | | | | | llvm-svn: 103631 | ||||

