> On May 10, 2016, at 8:53 AM, Ard Biesheuvel <[email protected]> wrote:
> 
> On 10 May 2016 at 17:18, Evan Lloyd <[email protected]> wrote:
>> Hi Ard.
>> This is not a major inconvenience, but we do occasionally find the 
>> -save-temps flag vital when debugging.
>> What does seem strange is using GCC_ARM_CC_FLAGS, etc for a CLANG compiler.
> 
> Since Clang is mostly GCC compatible in terms of command line options,
> the ARM and AARCH64 CLANG35 toolchain tag is part of the GCC toolchain
> family. That by itself is not a reason to have completely separate CC
> flag definitions, though. I just never thought about it.
> 
>> Surely there ought to be CLANG_*_CC_FLAGS (which could be played with to 
>> your hearts content, without disrupting other compilers).
>> 
> 

It looks like Steven is working on things clang, including LTO. 

On the Xcode/clang side there is a linker flag, -object_path_lto 
$(DEST_DIR_DEBUG)/$(BASE_NAME).lto, that needs to get added to store temp 
output of the LTO generation to support debug, but there is not a compiler flag 
required. The Xcode clang flags are very GCC like, but the linker is totally 
different.

Thanks,

Andrew Fish



> Indeed. Will go that route instead.
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to