[llvm] [DebugInfo] Introduce DW_AT_LLVM_language_dialect (PR #194898)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 00:33:36 PDT 2026


================
@@ -6584,6 +6584,32 @@ more-accurate debug info for profiling results.
                         enums: !2, retainedTypes: !3, globals: !4, imports: !5,
                         macros: !6, dwoId: 0x0abcd)
 
+The optional ``dialect:`` field encodes the source-language *dialect* of the
+compile unit as an enum (the ``DW_LLVM_LANG_DIALECT_*`` family defined in
+``include/llvm/BinaryFormat/Dwarf.def``). It corresponds to the
----------------
Michael137 wrote:

(since you enumerate the value below anyway)

https://github.com/llvm/llvm-project/pull/194898


More information about the llvm-commits mailing list