[llvm] [debuginfo] Add DW_AT_type support to DW_TAG_string_type DIEs (1 of 3) (PR #217419)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 11:59:04 PDT 2026
================
@@ -859,6 +859,9 @@ void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIStringType *STy) {
addUInt(Buffer, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1,
STy->getEncoding());
}
+
+ if (STy->getCharType())
+ addType(Buffer, STy->getCharType());
----------------
timsmith78 wrote:
I have added a check.
https://github.com/llvm/llvm-project/pull/217419
More information about the llvm-commits
mailing list