[llvm-commits] [llvm-gcc-4.2] r53113 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

Eric Christopher echristo at apple.com
Mon Jul 7 14:59:51 PDT 2008


On Jul 7, 2008, at 2:55 PM, Devang Patel wrote:

>
> On Jul 7, 2008, at 1:59 PM, Chris Lattner wrote:
>
>>
>> On Jul 7, 2008, at 1:55 PM, Eric Christopher wrote:
>>
>>>>
>>>> Ok, I can see that.  I'm fine with -mllvm-lto, but I don't think we
>>>> should get more complex than that.  This is really just a "compiler
>>>> hacker feature".
>>>
>>> Can't just use -Wl, then?
> (BTW, this should work without the patch that started this thread)
>
> Again, if the linker does not support -mllvm then -Wl,-mllvm will  
> fail anyway ;).

Well yeah, but there was no motivation for why you wanted to do this.

>
>
>> Yes, that is fine with me!  What do you think Devang/Evan?
>
> I'm fine with current state :)
>
> I do not prefer separate new -mllvm option for the linker.
>

Well, if it's not an option then don't pass it :)

> This is a debugging aid for llvm hacker that helps him investigate  
> code generation/optimization bugs. If the user does not know what he  
> is debugging (lto or no-lto) then all bets are off!
>

Of course, but there's no problem in using -Wl,.... instead of passing  
-mllvm ... there's no difference.

-eric



More information about the llvm-commits mailing list