[Lldb-commits] [lldb] [PAC][lldb][Dwarf] Support `__ptrauth`-qualified types in user expressions (PR #84387)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 2 04:30:16 PDT 2024


================
@@ -579,6 +613,7 @@ DWARFASTParserClang::ParseTypeModifier(const SymbolContext &sc,
   LanguageType cu_language = SymbolFileDWARF::GetLanguage(*die.GetCU());
   Type::ResolveState resolve_state = Type::ResolveState::Unresolved;
   Type::EncodingDataType encoding_data_type = Type::eEncodingIsUID;
+  TypePayloadClang payload(GetOwningClangModule(die));
----------------
Michael137 wrote:

Why is overwriting the payload for ptrauth fine here? Could it interfere with the modules logic?

In the downstream version of this we leave the payload as is, but instead add the ptrauth qualifiers to the `clang_type` here directly. Did you encounter issues with that approach?

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


More information about the lldb-commits mailing list