2f31fb99ef 
								
							 
						 
						
							
							
								
								Driver/Darwin: Don't link -lgcc_s.1 when compiling as iOS for the simulator,  
							
							... 
							
							
							
							that library has never been in the SDK. Fortunately, it shouldn't be necessary,
since that library was also removed in 10.6.
llvm-svn: 130595 
							
						 
						
							2011-04-30 04:25:16 +00:00  
				
					
						
							
							
								 
						
							
								a9cbb6b9d5 
								
							 
						 
						
							
							
								
								Driver/Darwin: Reject invalid arch combinations with  
							
							... 
							
							
							
							-mios-simulator-version-min.
llvm-svn: 130593 
							
						 
						
							2011-04-30 04:20:40 +00:00  
				
					
						
							
							
								 
						
							
								b1189434dd 
								
							 
						 
						
							
							
								
								Driver/Darwin: Change Darwin toolchain to explicitly track is-ios-sim bit, and  
							
							... 
							
							
							
							update -mios-simulator-version-min to set it.
llvm-svn: 130592 
							
						 
						
							2011-04-30 04:18:16 +00:00  
				
					
						
							
							
								 
						
							
								9aaeb6400b 
								
							 
						 
						
							
							
								
								Driver/Darwin: Sketch initial support for a -mios-simulator-version-min= flag  
							
							... 
							
							
							
							and associated deployment target environment variable.
llvm-svn: 130591 
							
						 
						
							2011-04-30 04:15:58 +00:00  
				
					
						
							
							
								 
						
							
								adf8ba98e7 
								
							 
						 
						
							
							
								
								Let clang detect gcc triple on Ubuntu Natty. Patch by Thomas Jablin.  
							
							... 
							
							
							
							llvm-svn: 130119 
							
						 
						
							2011-04-25 03:17:35 +00:00  
				
					
						
							
							
								 
						
							
								bbd482226e 
								
							 
						 
						
							
							
								
								Driver/Darwin: Allow OS X deployment targets like 10.4.11, even though they  
							
							... 
							
							
							
							can't be represented in the environment define.
llvm-svn: 129939 
							
						 
						
							2011-04-21 21:27:33 +00:00  
				
					
						
							
							
								 
						
							
								5a784c8ed1 
								
							 
						 
						
							
							
								
								Driver: Tweak -Xarch diags a bit more, we can't actually differentiate between  
							
							... 
							
							
							
							unknown and "required more arguments", but only the latter should be feasible in
practice.
llvm-svn: 129919 
							
						 
						
							2011-04-21 17:41:34 +00:00  
				
					
						
							
							
								 
						
							
								6914a98ccd 
								
							 
						 
						
							
							
								
								Driver: Improve -Xarch argument diagnostics a bit.  
							
							... 
							
							
							
							llvm-svn: 129918 
							
						 
						
							2011-04-21 17:32:21 +00:00  
				
					
						
							
							
								 
						
							
								308cfd045f 
								
							 
						 
						
							
							
								
								Driver/Darwin: Switch to using -macosx for OS name in triples.  
							
							... 
							
							
							
							llvm-svn: 129834 
							
						 
						
							2011-04-19 23:34:17 +00:00  
				
					
						
							
							
								 
						
							
								5c56828d91 
								
							 
						 
						
							
							
								
								Driver/Darwin: Switch to using new style triples.  
							
							... 
							
							
							
							llvm-svn: 129824 
							
						 
						
							2011-04-19 21:45:47 +00:00  
				
					
						
							
							
								 
						
							
								d107638328 
								
							 
						 
						
							
							
								
								Driver/Darwin: Change to use generic iOS runtime library, which we now always need.  
							
							... 
							
							
							
							llvm-svn: 129734 
							
						 
						
							2011-04-18 23:48:36 +00:00  
				
					
						
							
							
								 
						
							
								00abe8ee31 
								
							 
						 
						
							
							
								
								Add ToolChain path support for linker on Slackware.  
							
							... 
							
							
							
							llvm-svn: 129704 
							
						 
						
							2011-04-18 17:50:19 +00:00  
				
					
						
							
							
								 
						
							
								57540c5be0 
								
							 
						 
						
							
							
								
								fix a bunch of comment typos found by codespell.  Patch by  
							
							... 
							
							
							
							Luis Felipe Strano Moraes!
llvm-svn: 129559 
							
						 
						
							2011-04-15 05:22:18 +00:00  
				
					
						
							
							
								 
						
							
								534b6a01e8 
								
							 
						 
						
							
							
								
								Add support for Fedora16, gcc 4.6.0 and Fedora Rawhide.  
							
							... 
							
							
							
							Patch by Bobby Powers
llvm-svn: 129014 
							
						 
						
							2011-04-06 18:22:53 +00:00  
				
					
						
							
							
								 
						
							
								43d47cc397 
								
							 
						 
						
							
							
								
								Add ToolChain support to get Clang to recognize Ubuntu/ppc and Gentoo/ppc64.  
							
							... 
							
							
							
							llvm-svn: 128944 
							
						 
						
							2011-04-05 22:04:27 +00:00  
				
					
						
							
							
								 
						
							
								d9249414b3 
								
							 
						 
						
							
							
								
								Add clang support for cortex-m0 cpus.  Patch by James Orr.  
							
							... 
							
							
							
							llvm-svn: 128018 
							
						 
						
							2011-03-21 20:40:05 +00:00  
				
					
						
							
							
								 
						
							
								bc923f3f7d 
								
							 
						 
						
							
							
								
								Memorize presence/absence of -nostdlib in Driver.  
							
							... 
							
							
							
							Drop program paths on NetBSD (unused). Only include lib dir, if
-nostdlib is absent. Use = to allow --sysroot to work.
llvm-svn: 127995 
							
						 
						
							2011-03-21 13:59:26 +00:00  
				
					
						
							
							
								 
						
							
								151a372113 
								
							 
						 
						
							
							
								
								Driver/Darwin: Transparently fallback when compiling i386 -fapple-kext code, we  
							
							... 
							
							
							
							don't support the ABI yet.
llvm-svn: 127903 
							
						 
						
							2011-03-18 20:14:03 +00:00  
				
					
						
							
							
								 
						
							
								1e1c3ca51c 
								
							 
						 
						
							
							
								
								Driver: Give SelectTool access to the action inputs.  
							
							... 
							
							
							
							llvm-svn: 127902 
							
						 
						
							2011-03-18 20:14:00 +00:00  
				
					
						
							
							
								 
						
							
								c76a9e6962 
								
							 
						 
						
							
							
								
								Driver/Darwin: Change fallback to use llvm-gcc search paths instead of GCC.  
							
							... 
							
							
							
							llvm-svn: 127897 
							
						 
						
							2011-03-18 19:25:15 +00:00  
				
					
						
							
							
								 
						
							
								50fab351d7 
								
							 
						 
						
							
							
								
								Driver/Darwin: Kill the DarwinGCC toolchain.  
							
							... 
							
							
							
							llvm-svn: 127896 
							
						 
						
							2011-03-18 19:25:10 +00:00  
				
					
						
							
							
								 
						
							
								0a36f4d654 
								
							 
						 
						
							
							
								
								Support Ubuntu hardy and intrepid, from Thomas Gamper!  
							
							... 
							
							
							
							llvm-svn: 127583 
							
						 
						
							2011-03-14 15:39:50 +00:00  
				
					
						
							
							
								 
						
							
								d9bb152821 
								
							 
						 
						
							
							
								
								Fix driver for thumb-capable ARM hosts, from Mikko Lehtonen!  
							
							... 
							
							
							
							llvm-svn: 127128 
							
						 
						
							2011-03-06 19:11:49 +00:00  
				
					
						
							
							
								 
						
							
								51477bd0d0 
								
							 
						 
						
							
							
								
								Since getDriver().getInstalledDir() returns a const char *, don't try to  
							
							... 
							
							
							
							compare it with getDriver().Dir.c_str(), since that is a pointer
comparison, not a "are these strings equal" comparison.
Instead, just compare with getDriver().Dir directly, so both sides will
get promoted to std::string, and the regular std::string comparison
operator applies.
Patch by Dimitry Andric!
llvm-svn: 126791 
							
						 
						
							2011-03-01 22:50:47 +00:00  
				
					
						
							
							
								 
						
							
								733b0f87df 
								
							 
						 
						
							
							
								
								Driver/Darwin: Be bug compatible with GCC and ignore -pg on ARM.  
							
							... 
							
							
							
							llvm-svn: 126767 
							
						 
						
							2011-03-01 18:49:30 +00:00  
				
					
						
							
							
								 
						
							
								2e5065d889 
								
							 
						 
						
							
							
								
								On FreeBSD, we don't want 'getDriver().Dir + "/../lib"' added to the  
							
							... 
							
							
							
							ToolChain's FilePaths.  If clang is installed as a port in /usr/local,
it is *not* supposed to use /usr/local/lib by default, for example.
Additionally, there are no clang-related executables in either
/usr/libexec, or getDriver().Dir + "/../libexec", anymore, so remove
that from the ToolChain's ProgramPaths.
Patch by Dimitry Andric!
llvm-svn: 126760 
							
						 
						
							2011-03-01 18:03:28 +00:00  
				
					
						
							
							
								 
						
							
								5480578d83 
								
							 
						 
						
							
							
								
								Driver: Attmpt to fix some possibly UB that MSVC doesn't care for.  
							
							... 
							
							
							
							llvm-svn: 126513 
							
						 
						
							2011-02-25 21:20:15 +00:00  
				
					
						
							
							
								 
						
							
								6a4e8e38f2 
								
							 
						 
						
							
							
								
								Add support for ArchLinux, patch by Kevin Winchester.  
							
							... 
							
							
							
							llvm-svn: 126476 
							
						 
						
							2011-02-25 06:39:53 +00:00  
				
					
						
							
							
								 
						
							
								ba9006df9e 
								
							 
						 
						
							
							
								
								improve support for SUSE Linux Enterprise Server 11 SP1  (x86_64).  
							
							... 
							
							
							
							Patch by Csaba Raduly!
llvm-svn: 126245 
							
						 
						
							2011-02-22 20:47:07 +00:00  
				
					
						
							
							
								 
						
							
								1094bb101b 
								
							 
						 
						
							
							
								
								Driver/Darwin: Support -Wl, with -Xarch_. This doesn't work naturally because of  
							
							... 
							
							
							
							the special way we model "linker input" arguments.
llvm-svn: 126023 
							
						 
						
							2011-02-19 05:33:51 +00:00  
				
					
						
							
							
								 
						
							
								24f1d3e60a 
								
							 
						 
						
							
							
								
								Add NetBSD target support. Patch by Joerg Sonnenberger.  
							
							... 
							
							
							
							llvm-svn: 124736 
							
						 
						
							2011-02-02 18:59:27 +00:00  
				
					
						
							
							
								 
						
							
								22197c1334 
								
							 
						 
						
							
							
								
								Add support for x86-64 Mandriva 2010.2. Reported by 'rindolf' on IRC!  
							
							... 
							
							
							
							llvm-svn: 124699 
							
						 
						
							2011-02-01 23:03:29 +00:00  
				
					
						
							
							
								 
						
							
								8cf302a1e7 
								
							 
						 
						
							
							
								
								optimize out a temporary sys::Path  
							
							... 
							
							
							
							llvm-svn: 123359 
							
						 
						
							2011-01-13 01:35:58 +00:00  
				
					
						
							
							
								 
						
							
								634f13eacb 
								
							 
						 
						
							
							
								
								replace all uses of PathV1::IsSymlink with PathV2::is_symlink.  
							
							... 
							
							
							
							llvm-svn: 123344 
							
						 
						
							2011-01-12 23:54:48 +00:00  
				
					
						
							
							
								 
						
							
								f6efe58d45 
								
							 
						 
						
							
							
								
								Replace all uses of PathV1::exists with PathV2::fs::exists.  
							
							... 
							
							
							
							llvm-svn: 123150 
							
						 
						
							2011-01-10 02:34:13 +00:00  
				
					
						
							
							
								 
						
							
								6da90771c4 
								
							 
						 
						
							
							
								
								Remove stray emacs mode markers in all these files that was causing emacs to  
							
							... 
							
							
							
							open them in fundamental-mode instead of c++-mode.
Also twiddle whitespace for consistency in ToolChains.cpp.
llvm-svn: 122646 
							
						 
						
							2010-12-31 17:31:54 +00:00  
				
					
						
							
							
								 
						
							
								d9da7a1f16 
								
							 
						 
						
							
							
								
								MemoryBuffer API update.  
							
							... 
							
							
							
							llvm-svn: 121956 
							
						 
						
							2010-12-16 03:28:14 +00:00  
				
					
						
							
							
								 
						
							
								f25faaaffb 
								
							 
						 
						
							
							
								
								Use error_code instead of std::string* for MemoryBuffer.  
							
							... 
							
							
							
							llvm-svn: 121378 
							
						 
						
							2010-12-09 17:36:38 +00:00  
				
					
						
							
							
								 
						
							
								8aaf49959c 
								
							 
						 
						
							
							
								
								Merge System into Support.  
							
							... 
							
							
							
							llvm-svn: 120297 
							
						 
						
							2010-11-29 18:12:39 +00:00  
				
					
						
							
							
								 
						
							
								739b9cf104 
								
							 
						 
						
							
							
								
								Add missing else.  
							
							... 
							
							
							
							llvm-svn: 120231 
							
						 
						
							2010-11-28 01:08:36 +00:00  
				
					
						
							
							
								 
						
							
								64fff2998d 
								
							 
						 
						
							
							
								
								Check for gcc 4.3.4.  
							
							... 
							
							
							
							llvm-svn: 119839 
							
						 
						
							2010-11-19 21:02:06 +00:00  
				
					
						
							
							
								 
						
							
								eb156609fe 
								
							 
						 
						
							
							
								
								add support for the i686-pc-linux-gnu triple (used by Gentoo x86)  
							
							... 
							
							
							
							llvm-svn: 119807 
							
						 
						
							2010-11-19 17:26:57 +00:00  
				
					
						
							
							
								 
						
							
								2abb162631 
								
							 
						 
						
							
							
								
								Add support for distros that like x86_64-unknown-linux-gnu.  
							
							... 
							
							
							
							llvm-svn: 119425 
							
						 
						
							2010-11-17 00:25:26 +00:00  
				
					
						
							
							
								 
						
							
								14776cf96a 
								
							 
						 
						
							
							
								
								Add driver support for Ubuntu 9.10.  
							
							... 
							
							
							
							llvm-svn: 119137 
							
						 
						
							2010-11-15 09:01:52 +00:00  
				
					
						
							
							
								 
						
							
								124798484a 
								
							 
						 
						
							
							
								
								Add support for Exherbo. Patch by Elias Pipping.  
							
							... 
							
							
							
							llvm-svn: 118769 
							
						 
						
							2010-11-11 02:07:13 +00:00  
				
					
						
							
							
								 
						
							
								66b291a41b 
								
							 
						 
						
							
							
								
								Add support for Ubuntu Jaunty.  
							
							... 
							
							
							
							llvm-svn: 118673 
							
						 
						
							2010-11-10 05:00:22 +00:00  
				
					
						
							
							
								 
						
							
								b45d2672f7 
								
							 
						 
						
							
							
								
								Add a forgotten break. Found by Rafael Espindola!  
							
							... 
							
							
							
							llvm-svn: 118433 
							
						 
						
							2010-11-08 19:39:10 +00:00  
				
					
						
							
							
								 
						
							
								137426a42f 
								
							 
						 
						
							
							
								
								Use integrated-as for processing .s files on FreeBSD. Copied  
							
							... 
							
							
							
							from Linux/OpenBSD code.
llvm-svn: 118419 
							
						 
						
							2010-11-08 17:46:39 +00:00  
				
					
						
							
							
								 
						
							
								c5688628d8 
								
							 
						 
						
							
							
								
								Pass "-z relro" as two arguments. This works with both gnu ld and gold.  
							
							... 
							
							
							
							Patch by Frits van Bommel.
llvm-svn: 118406 
							
						 
						
							2010-11-08 14:48:47 +00:00  
				
					
						
							
							
								 
						
							
								96aef794ba 
								
							 
						 
						
							
							
								
								Use the integrated assembler when procession .s files on OpenBSD and Linux.  
							
							... 
							
							
							
							Original patch for OpenBSD by Vladimir Kirillov.
llvm-svn: 118386 
							
						 
						
							2010-11-07 23:13:01 +00:00