[llvm-commits] [PATCH][RFC] Disable data region directives

Duncan Sands baldrick at free.fr
Tue Nov 27 09:27:50 PST 2012


Hi Rafael,

On 27/11/12 17:41, Rafael EspĂ­ndola wrote:
>> I can definitely get behind upwards and onwards.  At the same time, I have to support the past.  As such, I think this is a low-impact change.  There's a precedence of similar options like -disable-cfi and -disable-dot-loc, and this patch is following in that mold.
>
> The disable-cfi option was implemented a long time ago when first
> adding cfi to MC, when MC itself was somewhat new and llvm-gcc still
> lived. For now I consider it mostly a debug tool until llvm-objdump
> does a better job at dumping EH sections.

dragonegg hooks it up to gcc's flag_dwarf2_cfi_asm.  I think this is
because someone reported problems with their binutils + CFI.  Sadly,
having dragonegg output object code directly isn't doable yet (needs
gcc changes).

Ciao, Duncan.

> Once you have done your magic with the assembly, can't you use the
> integrated assembler? Just using "clang -c" should do it. If the
> integrated assembler is missing some feature you need that is
> something we should fix.
>
>>
>> Joe
>
> Cheers,
> Rafael
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list