summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver
Commit message (Collapse)AuthorAgeFilesLines
* Driver/Darwin: Set -force_cpusubtype_ALL only by default on x86.Daniel Dunbar2010-07-221-1/+3
| | | | llvm-svn: 109074
* Driver/Darwin: Always allow blocks on Darwin, so that users can conditionallyDaniel Dunbar2010-07-221-5/+3
| | | | | | | use blocks even when targetting older systems (using runtime checks and weak linking). llvm-svn: 109072
* Add -lstdc++ to DragonFly tools.Rafael Espindola2010-07-201-0/+5
| | | | | | Patch by Sascha Wildner. llvm-svn: 108830
* Driver: Make -fnext-runtime the default when rewriting Objective-C.Daniel Dunbar2010-07-191-2/+7
| | | | llvm-svn: 108741
* Driver/Darwin: Add deployment target after doing argument translation, so thatDaniel Dunbar2010-07-192-11/+13
| | | | | | -mmacosx-version-min works inside a -Xarch_ flag. llvm-svn: 108712
* Driver: Factor out Darwin::AddDeploymentTarget.Daniel Dunbar2010-07-192-10/+20
| | | | llvm-svn: 108711
* Driver: Change the driver to take the path to the main executable, instead ofDaniel Dunbar2010-07-191-7/+6
| | | | | | | | | taking it in pieces. - Fixes a problem where the Clang executable path was not initialized properly on Win32, because sys::Path::getBasename() doesn't do what I always think it does. Imagine that, a sys::Path interface that is confusing! llvm-svn: 108667
* Driver: Fix a possible use after free.Daniel Dunbar2010-07-181-4/+4
| | | | llvm-svn: 108659
* BUILD_ARCHIVE is the default for libraries, no need to set it.Chris Lattner2010-07-181-1/+0
| | | | llvm-svn: 108633
* Driver/Darwin: Resolve deployment target defaulting to be more predictable;Daniel Dunbar2010-07-151-13/+4
| | | | | | assume we are targetting OS X unless an explicit option is given. llvm-svn: 108426
* Driver: When re'execing clang, use path to the main executable instead ofDaniel Dunbar2010-07-142-6/+9
| | | | | | | 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 Dunbar2010-07-142-54/+51
| | | | llvm-svn: 108345
* Driver/Darwin: Pass -pie/-no_pie to the linker when -fpie/-fno-pie and friendsDaniel Dunbar2010-07-132-2/+28
| | | | | | are explicitly given. llvm-svn: 108297
* Introduce -f{no-}spell-checking options to enable/disableDouglas Gregor2010-07-091-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 ReeuwijkChris Lattner2010-07-076-29/+291
| | | | | | from PR7583 llvm-svn: 107788
* Driver/IRgen: Add support for -momit-leaf-frame-pointer.Daniel Dunbar2010-07-011-0/+5
| | | | llvm-svn: 107367
* Driver/Darwin: Add one -L for the DarwinClang toolchain to point into the gccDaniel Dunbar2010-06-301-0/+27
| | | | | | | library directory, as we still rely on a few libraries that are hiding there (in particular libstdc++.dylib). llvm-svn: 107353
* Driver/Darwin: Only run dsymutil when we are also compiling/assembling as partDaniel Dunbar2010-06-291-5/+19
| | | | | | | of the compilation. - <rdar://problem/8141387> clang is always invoking dsymutil llvm-svn: 107149
* Set the default arch based on the triple.Rafael Espindola2010-06-281-46/+55
| | | | llvm-svn: 107021
* Use softfp for linux gnueabi, keep the warning for everything else.Rafael Espindola2010-06-271-2/+9
| | | | llvm-svn: 106984
* Implement support for -fwrapv, rdar://7221421Chris Lattner2010-06-261-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: Add make variable to allow disabling default integrated assembler, tillDaniel Dunbar2010-06-231-0/+4
| | | | | | all the kinks are worked out. llvm-svn: 106641
* Make c++ and C++ valid extensions for C++ source files, from Seth Cantrell!Douglas Gregor2010-06-221-0/+2
| | | | llvm-svn: 106602
* Driver: Remove some dead code left around after a refactoring. Found by theDaniel Dunbar2010-06-221-10/+0
| | | | | | Clang static analyzer! llvm-svn: 106568
* implement support for -finstrument-functions, patch by NelsonChris Lattner2010-06-221-0/+2
| | | | | | Elhage! llvm-svn: 106507
* Update CMake build for new attribute changes.Alexis Hunt2010-06-171-2/+2
| | | | llvm-svn: 106188
* Change the test for which ABI/CC to use on ARM to be base on the environmentRafael Espindola2010-06-161-12/+5
| | | | | | (the last argument of the triple). llvm-svn: 106131
* Frontend: Allow passing -cc1 level arguments to plugins. Patch by Troy ↵Daniel Dunbar2010-06-161-1/+2
| | | | | | Straszheim! llvm-svn: 106113
* Driver: Support -Wp,-MMD,FOO, which I found an instance of. :(Daniel Dunbar2010-06-151-3/+7
| | | | llvm-svn: 106039
* Implement -fvisibility-inlines-hidden. <rdar://problem/7819834>Douglas Gregor2010-06-151-0/+2
| | | | llvm-svn: 106003
* Driver/FreeBSD: Add libexec to program search paths, to workaround some buildDaniel Dunbar2010-06-151-0/+2
| | | | | | problem; patch by Ed Schouten. llvm-svn: 105996
* Driver: Fix PR4062 by dissecting one particular -Wp, form.Daniel Dunbar2010-06-141-6/+19
| | | | llvm-svn: 105966
* Driver: Dissect -Wl, and -Xlinker arguments to remove --no-demangle, which was aDaniel Dunbar2010-06-141-3/+27
| | | | | | collect2 option that is passed by some projects (notably WebKit). llvm-svn: 105964
* Driver: Eliminate uses of Arg::getIndex.Daniel Dunbar2010-06-142-5/+7
| | | | | | Also, fix a memory leak. llvm-svn: 105963
* Driver: Fix refacto in DerivedArgList::MakeSeparateArg.Daniel Dunbar2010-06-141-25/+16
| | | | llvm-svn: 105958
* Driver: Add DerivedArgList::AddFOOArg helper functions, and switch to using ↵Daniel Dunbar2010-06-141-51/+45
| | | | | | them. llvm-svn: 105957
* Driver: Switch Compilation to return the translated arguments by default.Daniel Dunbar2010-06-111-1/+1
| | | | llvm-svn: 105844
* Driver: Add an explicit argument translation phase to the driver itself. We ↵Daniel Dunbar2010-06-115-31/+33
| | | | | | are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect. llvm-svn: 105842
* Driver: Get rid of the proxy support in DerivedArgList.Daniel Dunbar2010-06-111-5/+6
| | | | llvm-svn: 105841
* Fix a couple comments.Daniel Dunbar2010-06-111-3/+1
| | | | llvm-svn: 105840
* Driver: Change OptTable::ParseArg to take any ArgList.Daniel Dunbar2010-06-112-11/+11
| | | | llvm-svn: 105839
* Driver: Fix arg_iterator typing to reflect that it is really an iterator ↵Daniel Dunbar2010-06-112-25/+25
| | | | | | over Arg*s. llvm-svn: 105838
* Add an option -fshow-overloads=best|all to limit the number of overloadJeffrey Yasskin2010-06-111-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
* Driver: Change Option parsing to always create arguments referring to unaliasedDaniel Dunbar2010-06-091-9/+10
| | | | | | | | options. - This matches the intent of the .td files, and will simplify alias handling. - PR7321. llvm-svn: 105763
* Driver: Eliminate Arg subclasses, which are now unnecessary.Daniel Dunbar2010-06-095-100/+66
| | | | llvm-svn: 105762
* Driver: Keep the rendering style in the option, instead of as part of the Arg.Daniel Dunbar2010-06-093-46/+64
| | | | llvm-svn: 105761
* Driver: Change Arg to just hold the values directly, instead of implicitlyDaniel Dunbar2010-06-094-66/+64
| | | | | | deriving them from the Arg type. llvm-svn: 105760
* Revert "Driver: Change Option parsing to always create arguments referring toDaniel Dunbar2010-06-091-9/+9
| | | | | | unaliased", this isn't quite right yet. llvm-svn: 105747
* Driver: Change Option parsing to always create arguments referring to unaliasedDaniel Dunbar2010-06-091-9/+9
| | | | | | | | options. - This matches the intent of the .td files, and will simplify alias handling. - PR7321. llvm-svn: 105744
* Driver: Add an explicit offset to JoinedArg and JoinedAndSeparateArg, so thatDaniel Dunbar2010-06-093-14/+28
| | | | | | they can be independent of the exact option that created them. llvm-svn: 105739
OpenPOWER on IntegriCloud