- May 01, 2012
-
-
James Molloy authored
Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver. Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/ llvm-svn: 155916
-
Douglas Gregor authored
llvm-svn: 155860
-
- Apr 27, 2012
-
-
Chad Rosier authored
architecture; this was happening for tools such as lipo and dsymutil. Also, if no -arch option has been specified, set the architecture based on the TC default. rdar://11329656 llvm-svn: 155730
-
Chad Rosier authored
intended. llvm-svn: 155719
-
Chad Rosier authored
intended. llvm-svn: 155718
-
Chad Rosier authored
llvm-svn: 155708
-
Chad Rosier authored
llvm-svn: 155679
-
- Apr 26, 2012
-
-
Simon Atanasyan authored
llvm-svn: 155656
-
Chandler Carruth authored
Linux and other (non-Darwin) platforms and have it use -fmath-errno by default (for better or worse). Darwin has seen the light here and uses -fno-math-errno by default, this patch preserves that. If any maintainers for a non-Linux platform would also like to opt-in to -fno-math-errno by default, I'm happy to add folks, but we're currently getting buts and misleading comparisons with GCC due to this difference in behavior on Linux at least. llvm-svn: 155607
-
- Apr 25, 2012
-
-
Evgeniy Stepanov authored
llvm-svn: 155541
-
Evgeniy Stepanov authored
llvm-svn: 155540
-
- Apr 24, 2012
-
-
Evgeniy Stepanov authored
llvm-svn: 155431
-
- Apr 23, 2012
-
-
Chandler Carruth authored
test suite failures. llvm-svn: 155371
-
Sirish Pande authored
llvm-svn: 155363
-
- Apr 21, 2012
-
-
rdar://10976177Bob Wilson authored
The check for excluding libarclite on i386 MacOSX should not apply to Foundation. llvm-svn: 155263
-
- Apr 20, 2012
-
-
Chad Rosier authored
overwriting the input file. For example, clang -c foo.s -o foo.o -save-temps Unfortunately, the original patch didn't compare the paths of the input and output files. Thus, something like the following would fail to create foo.s. cd /tmp/obj clang -c ../src/foo.s -o foo.o -save-temps rdar://11252615 llvm-svn: 155224
-
Chad Rosier authored
Add a FIXME comment. rdar://11283560 llvm-svn: 155207
-
Chad Rosier authored
tested. llvm-svn: 155205
-
Evgeniy Stepanov authored
llvm-svn: 155191
-
Chad Rosier authored
flags. We have preprocessed source, so we don't need these. No test case as it's fairly difficult to make the compiler crash on demand. I'll patiently wait for Ben to tell me how to do this in 2 lines of code. :) rdar://11283560 llvm-svn: 155180
-
- Apr 18, 2012
-
-
Chandler Carruth authored
r155047. See the LLVM log for the primary motivation: http://llvm.org/viewvc/llvm-project?rev=155047&view=rev Primary commit r154828: - Several issues were raised in review, and fixed in subsequent commits. - Follow-up commits also reverted, and which should be folded into the original before reposting: - r154837: Re-add the 'undef BUILTIN' thing to fix the build. - r154928: Fix build warnings, re-add (and correct) header and license - r154937: Typo fix. Please resubmit this patch with the relevant LLVM resubmission. llvm-svn: 155048
-
Gabor Greif authored
llvm-svn: 154997
-
- Apr 17, 2012
-
-
Gabor Greif authored
llvm-svn: 154920
-
- Apr 16, 2012
-
-
Sirish Pande authored
llvm-svn: 154828
-
Sebastian Pop authored
llvm-svn: 154792
-
- Apr 15, 2012
-
-
David Blaikie authored
llvm-svn: 154774
-
- Apr 10, 2012
-
-
David Chisnall authored
Patch by Dmitri Shubin! llvm-svn: 154392
-
Evgeniy Stepanov authored
llvm-svn: 154389
-
Rafael Espindola authored
requires the -plugin to come before any -plugin-opt options, we were passing them the other way around. With this one can run (for example): clang -o foo foo.c -O4 -Wl,-plugin-opt=generate-api-file llvm-svn: 154357
-
- Apr 09, 2012
-
-
Fariborz Jahanian authored
cc1 option remains though to invoke default property synthesis. // rdar://11209719 llvm-svn: 154334
-
Fariborz Jahanian authored
as the driver option. // rdar://11209719 llvm-svn: 154331
-
David Chisnall authored
llvm-svn: 154327
-
David Chisnall authored
for hooking in code flow visualisation applications. llvm-svn: 154321
-
Anton Korobeynikov authored
llvm-svn: 154318
-
David Chisnall authored
Make a modern Objective-C runtime the default target for *BSD. Don't yet change this on GNU/Linux, where the GCC runtime still tends to be used. llvm-svn: 154315
-
- Apr 08, 2012
-
-
Chandler Carruth authored
First, this patch cleans up the parsing of the PIC and PIE family of options in the driver. The existing logic failed to claim arguments all over the place resulting in kludges that marked the options as unused. Instead actually walk all of the arguments and claim them properly. We now treat -f{,no-}{pic,PIC,pie,PIE} as a single set, accepting the last one on the commandline. Previously there were lots of ordering bugs that could creep in due to the nature of the parsing. Let me know if folks would like weird things such as "-fPIE -fno-pic" to turn on PIE, but disable full PIC. This doesn't make any sense to me, but we could in theory support it. Options that seem to have intentional "trump" status (-static, -mkernel, etc) continue to do so and are commented as such. Next, a -pie-level flag is threaded into the frontend, rigged to a language option, and handled preprocessor, setting up the appropriate defines. We'll now have the correct defines when compiling with -fpie. The one place outside of the preprocessor that was inspecting the PIC level (as opposed to the relocation model, which is set and handled separately, yay!) is in the GNU ObjC runtime. I changed it to exactly preserve existing behavior. If folks want to change its behavior in the face of PIE, they can do that in a separate patch. Essentially the only functionality changed here is the preprocessor defines and bug-fixes to the argument management. Tests have been updated and extended to test all of this a bit more thoroughly. llvm-svn: 154291
-
Simon Atanasyan authored
llvm-svn: 154270
-
Simon Atanasyan authored
llvm-svn: 154269
-
- Apr 07, 2012
-
-
Chad Rosier authored
However, the '-x' option has special handling and wasn't following this paradigm. Fix it to do so by claiming the arg as we parse the '-x' option. rdar://11203340 llvm-svn: 154231
-
- Apr 06, 2012
-
-
Simon Atanasyan authored
llvm-svn: 154200
-