[llvm] [debuginfo] Add DW_AT_type support to DW_TAG_string_type DIEs (1 of 3) (PR #217419)
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 07:46:29 PDT 2026
================
@@ -7346,10 +7346,12 @@ The `name:` field is mandatory. The `configMacros:`, `includePath:`,
dynamic length and location encoded as an expression.
The `tag:` field is optional and defaults to `DW_TAG_string_type`. The `name:`,
`stringLength:`, `stringLengthExpression`, `stringLocationExpression:`,
-`size:`, `align:`, and `encoding:` fields are optional.
+`size:`, `align:`, `encoding:`, and `charType:` fields are optional.
If not present, the `size:` and `align:` fields default to the value zero.
+`charType:` allows representation of non-default character types.
----------------
jmorse wrote:
Nit: wording that specifies the meaning of the field would be better, "specifies a non-default character type" perhaps?
https://github.com/llvm/llvm-project/pull/217419
More information about the llvm-commits
mailing list