omern1 wrote:

> The `.debug_` prefix is for DEARF content, is this being proposed to the 
> DWARF standard?

No, this isn't being proposed for the DWARF standard. Though, searching through 
the DWARF standard I couldn't find anywhere saying that the `.debug_` section 
name prefix is reserved for DWARF information. Similarly the SysV ABI and the 
ELF spec don't seem to say anything like that either. I suspect this might be a 
namespacing convention rather than a requirement.

I feel like there's a case for this prefix as GNU `strip` doesn't seem to strip 
sections with the `.llvm_` prefix and we don't people to accidentally ship 
binaries with this section in them.

Also, the choice of `.debug_llvm_` is specifically to avoid clashes with DWARF 
sections.


https://github.com/llvm/llvm-project/pull/101962
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to