[llvm] [DebugInfo] Introduce DW_AT_LLVM_language_dialect (PR #194898)
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 09:36:01 PDT 2026
echristo wrote:
> I've briefly talked with a DWARF committee member about proposing this to the DWARF committee. I would like to do that, and think that's the right path forward; however, I have not prioritized that work.
>
The main reason I liked this is for about the same reasons you brought up - helps handle the combinatorial explosion of things like CUDA or OpenCL or etc across the actual source languages rather than the particular extension.
> Not the biggest fan of stringly typed fields in DWARF - though it's not a hard no from me either. Maybe it's the right tool for exploration, though it'd be standardized as an enumeration with a user extension range like languages...
That was my thought too :)
https://github.com/llvm/llvm-project/pull/194898
More information about the llvm-commits
mailing list