Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Driver/FreeBSD: Add libexec to program search paths, to workaround some build | Daniel Dunbar | 2010-06-15 | 1 | -0/+2 |
| | | | | | | problem; patch by Ed Schouten. llvm-svn: 105996 | ||||
* | Driver: Eliminate uses of Arg::getIndex. | Daniel Dunbar | 2010-06-14 | 1 | -3/+4 |
| | | | | | | Also, fix a memory leak. llvm-svn: 105963 | ||||
* | Driver: Add DerivedArgList::AddFOOArg helper functions, and switch to using ↵ | Daniel Dunbar | 2010-06-14 | 1 | -51/+45 |
| | | | | | | them. llvm-svn: 105957 | ||||
* | Driver: Add an explicit argument translation phase to the driver itself. We ↵ | Daniel Dunbar | 2010-06-11 | 1 | -14/+4 |
| | | | | | | are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect. llvm-svn: 105842 | ||||
* | Driver: Add an explicit dsymutil action. | Daniel Dunbar | 2010-06-04 | 1 | -0/+4 |
| | | | | llvm-svn: 105474 | ||||
* | Driver: Switch to using the integrated assembler for standalone assembly jobs | Daniel Dunbar | 2010-05-20 | 1 | -2/+18 |
| | | | | | | (or -save-temps), when the integrated assembler is enabled. llvm-svn: 104282 | ||||
* | Driver: Only add extra -L paths on darwin if they exist. Unfortunately, this | Daniel Dunbar | 2010-04-10 | 1 | -6/+15 |
| | | | | | | | | means it isn't really possible to write the test case for this code, but this is the kind of thing that really requires testing against the installed compiler anyway. llvm-svn: 100935 | ||||
* | Driver: Ignore -fobjc-gc and -fobjc-gc-only for platforms which don't ↵ | Daniel Dunbar | 2010-04-10 | 1 | -0/+5 |
| | | | | | | support them. llvm-svn: 100930 | ||||
* | Driver/Darwin/x86: When linking, incorporate -L paths based on the path where | Daniel Dunbar | 2010-04-10 | 1 | -0/+7 |
| | | | | | | | | | Clang is installed. This is designed to match gcc, and is important when installed in a non-standard location. - This is gross, but no worse than ever. It will die when we finally move to the compiler-rt based toolchain, any day now. llvm-svn: 100915 | ||||
* | Driver: Fix thinkos that prevented Clang from picking the right deployment | Daniel Dunbar | 2010-03-20 | 1 | -2/+2 |
| | | | | | | target when both {MACOSX,IPHONEOS}_DEPLOYMENT_TARGET were set. llvm-svn: 99055 | ||||
* | add TCE target support, patch by Pekka J! | Chris Lattner | 2010-03-04 | 1 | -0/+60 |
| | | | | llvm-svn: 97746 | ||||
* | Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixes | Daniel Dunbar | 2010-02-10 | 1 | -0/+6 |
| | | | | | | | calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling, for Darwin ARM. llvm-svn: 95787 | ||||
* | Driver/Darwin: Don't error/warn on conflicting deployment targets. Apparently | Daniel Dunbar | 2010-02-02 | 1 | -5/+14 |
| | | | | | | this is still a popular thing to do. llvm-svn: 95093 | ||||
* | Driver/Darwin: Fix a crash when diagnosing conflicting deployment targets. | Daniel Dunbar | 2010-01-29 | 1 | -4/+6 |
| | | | | llvm-svn: 94812 | ||||
* | Driver/Darwin: Eliminate invalid uses of DarwinVersion -- this fixes a number of | Daniel Dunbar | 2010-01-27 | 1 | -6/+2 |
| | | | | | | defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector). llvm-svn: 94642 | ||||
* | Driver/Darwin: Simplify target version checks. | Daniel Dunbar | 2010-01-27 | 1 | -29/+10 |
| | | | | llvm-svn: 94641 | ||||
* | Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actually | Daniel Dunbar | 2010-01-27 | 1 | -16/+12 |
| | | | | | | just indicating whether the default target should be iPhoneOS. llvm-svn: 94638 | ||||
* | Driver/Darwin: Switch to using isTargetIPhoneOS where appropriate. | Daniel Dunbar | 2010-01-27 | 1 | -3/+3 |
| | | | | llvm-svn: 94637 | ||||
* | Driver/Darwin: Track target platform more explicitly in tool chain, eventually | Daniel Dunbar | 2010-01-27 | 1 | -10/+32 |
| | | | | | | | this should just be part of the tool chain itself once we have eliminated argument translation. llvm-svn: 94635 | ||||
* | Driver/Darwin: Honor IPHONEOS_DEPLOYMENT_TARGET. | Daniel Dunbar | 2010-01-26 | 1 | -14/+30 |
| | | | | llvm-svn: 94488 | ||||
* | Driver/Darwin: Update tool chain to use static clang_rt libraries provided by | Daniel Dunbar | 2010-01-22 | 1 | -10/+48 |
| | | | | | | | | | | | | | | | | | | | | compiler-rt. This tool chain now works on x86 and ARM, but isn't the x86 default yet. This drastically cleans up the linker invocation, old invocation: -- "/Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-weak_reference_mismatches" "non-weak" "-o" "a.out" "-lcrt1.10.6.o" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.." "t.o" "-lSystem" "-lgcc" -- New invocation: -- # For 10.6: "/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" "t.o" "-lSystem" # For 10.4: "/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.4" "-o" "a.out" "-lcrt1.o" "t.o" "-lSystem" "-lgcc_s.10.4" "/Volumes/Data/ddunbar/llvm.obj.64/Debug/lib/clang/1.1/lib/darwin/libclang_rt.10.4.a" -- llvm-svn: 94150 | ||||
* | Driver/Darwin/ld: Factor out getDarwinArchName, for getting the "Darwin" arch | Daniel Dunbar | 2010-01-22 | 1 | -0/+63 |
| | | | | | | name being used in an driver invocation. llvm-svn: 94139 | ||||
* | Remove ../libexec from clang program search path, clang-cc is dead. | Daniel Dunbar | 2010-01-18 | 1 | -24/+0 |
| | | | | llvm-svn: 93749 | ||||
* | Fix a FIXME. | Daniel Dunbar | 2010-01-10 | 1 | -2/+2 |
| | | | | llvm-svn: 93087 | ||||
* | Use -fno-math-errno by default, and remove the IsMathErrnoDefault | Dan Gohman | 2010-01-08 | 1 | -8/+0 |
| | | | | | | targethook, which is no longer being used. This fixes PR5971. llvm-svn: 92987 | ||||
* | Add ToolChain::getDriver() and use it instead of going through the HostInfo | Daniel Dunbar | 2009-12-21 | 1 | -30/+30 |
| | | | | | | object. llvm-svn: 91830 | ||||
* | Add -dwarf-debug-flags, which provides a way to embed the cc1 level options used | Daniel Dunbar | 2009-12-18 | 1 | -0/+6 |
| | | | | | | | | to compile a translation unit into the debug info for that file. - Used by parts of Darwin build process to check compiler flags, etc. - <rdar://problem/7256886> clang does not emit AT_APPLE_flags llvm-svn: 91661 | ||||
* | Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave | Jeffrey Yasskin | 2009-12-12 | 1 | -1/+1 |
| | | | | | | no extra safety anyway. llvm-svn: 91207 | ||||
* | Driver: ArgList doesn't depend on Options.h anymore. | Daniel Dunbar | 2009-11-19 | 1 | -0/+1 |
| | | | | llvm-svn: 89313 | ||||
* | Driver: Introduce OptSpecifier class for protecting access to an option id. | Daniel Dunbar | 2009-11-19 | 1 | -1/+1 |
| | | | | llvm-svn: 89310 | ||||
* | Driver: Switch to using explicit {getLast,has}ArgNoClaim functions instead ↵ | Daniel Dunbar | 2009-11-19 | 1 | -3/+3 |
| | | | | | | | | of taking a Claim argument. - Most driver code always claims, and bool arguments don't play nice with the overloads. llvm-svn: 89308 | ||||
* | Driver: Split OptTable out into OptTable.{h,cpp} | Daniel Dunbar | 2009-11-19 | 1 | -0/+1 |
| | | | | llvm-svn: 89283 | ||||
* | Driver: Store Option ID field as unsigned to drop dependency on the options | Daniel Dunbar | 2009-11-18 | 1 | -2/+1 |
| | | | | | | type. llvm-svn: 89232 | ||||
* | Driver: Fix thinko in logic for finding gcc's tool chain directory. | Daniel Dunbar | 2009-10-22 | 1 | -2/+4 |
| | | | | llvm-svn: 84805 | ||||
* | Driver: don't produce bogus osx version numbers if no version (aka 0) was ↵ | Benjamin Kramer | 2009-10-21 | 1 | -1/+2 |
| | | | | | | specified. llvm-svn: 84781 | ||||
* | Driver: If unable to find the gcc tool chain, try the next OS rev. | Daniel Dunbar | 2009-10-20 | 1 | -1/+18 |
| | | | | llvm-svn: 84656 | ||||
* | AuroraUX toolchain fixes. | Edward O'Callaghan | 2009-10-15 | 1 | -0/+1 |
| | | | | llvm-svn: 84176 | ||||
* | Revert r83443. | Ted Kremenek | 2009-10-07 | 1 | -3/+2 |
| | | | | llvm-svn: 83451 | ||||
* | Fixup pathnames. | Mike Stump | 2009-10-07 | 1 | -2/+3 |
| | | | | llvm-svn: 83443 | ||||
* | Fix truck sized thinko where Darwin/ARM toolchain didn't look for programs in | Daniel Dunbar | 2009-09-29 | 1 | -0/+7 |
| | | | | | | libexec, *blush*. llvm-svn: 83086 | ||||
* | Split Darwin toolchain into Clang and GCC Darwin toolchains with a common base. | Daniel Dunbar | 2009-09-18 | 1 | -15/+63 |
| | | | | llvm-svn: 82213 | ||||
* | Lift AddLinkRuntimeLibArgs into Darwin tool chain. | Daniel Dunbar | 2009-09-18 | 1 | -0/+46 |
| | | | | llvm-svn: 82212 | ||||
* | Lift getMacosxVersionMin out into Darwin ToolChain. | Daniel Dunbar | 2009-09-18 | 1 | -0/+15 |
| | | | | llvm-svn: 82210 | ||||
* | Lift AddLinkerSearchPaths() into Darwin tool chain. | Daniel Dunbar | 2009-09-18 | 1 | -6/+26 |
| | | | | llvm-svn: 82209 | ||||
* | Improve Darwin argument translation to match what the driver driver does. | Daniel Dunbar | 2009-09-09 | 1 | -8/+72 |
| | | | | llvm-svn: 81391 | ||||
* | Push bound architecture name into TranslateArgs. | Daniel Dunbar | 2009-09-09 | 1 | -2/+4 |
| | | | | llvm-svn: 81366 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -20/+19 |
| | | | | llvm-svn: 81346 | ||||
* | Fix ShouldUseClangCompiler to use llvm::Triple. | Daniel Dunbar | 2009-09-08 | 1 | -6/+6 |
| | | | | | | - -1 FIXME, and fixes 'clang -arch armv4t ...', for example. llvm-svn: 81276 | ||||
* | Darwin: Pass -iphoneos-version-min to ld when building for ARM. | Daniel Dunbar | 2009-09-04 | 1 | -10/+21 |
| | | | | llvm-svn: 81019 | ||||
* | Rename Darwin_X86 toolchain to just Darwin, this can support all platforms. | Daniel Dunbar | 2009-09-04 | 1 | -13/+12 |
| | | | | llvm-svn: 81016 |