omern1 wrote:

> Conventionally, .debug_* sections are reserved for DWARF, even without 
> official standards.
GNU strip's default behavior --strip-all, emulated by llvm-objcopy's 
--strip-all-gnu option, is roughly to remove non-SHF_ALLOC sections that are 
not debug.
> The .llvm prefix holds no special meaning.
>
> When designing new sections, we should not adapt to the --strip-all-gnu 
> behavior.

Thanks, it appears that you're suggesting removing the `.debug_` bit from the 
name of the section, is that correct?

> Jump tables exhibit diverse structures. For instance, consider 
> llvm/test/CodeGen/ARM/jump-table-tbh.ll and Mach-O's .data_region.

Jump tables of type `EK_Inline` aren't handled in ASM printer so I think they 
should be kept out of the scope of this patch. I'll look into the Macho-O data 
region stuff.


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