[llvm-commits] [llvm-gcc-4.2] r130590 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Sat Apr 30 09:28:25 PDT 2011


Hi Rafael,

>>>> Don't use the CFI directives in llvm-gcc.
>>> Can't we check the presence of the "good" assembler during the
>>> configure? In the same way the mainline gcc does?
>>
>> do you know how in mainline gcc this information is made available?
>> Then I could condition CFI directives on it in dragonegg.
>
> Looks like HAVE_GAS_CFI_DIRECTIVE is what you want.

that's used to give the default value for flag_dwarf2_cfi_asm, and from then
on flag_dwarf2_cfi_asm seems to be what is actually used, so I guess that's
the right thing for dragonegg to look at.

Ciao, Duncan.



More information about the llvm-commits mailing list