[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
Wed Mar 20 17:13:20 PDT 2024


================
@@ -676,6 +677,62 @@ DWARFASTParserClang::ParseTypeModifier(const SymbolContext &sc,
   case DW_TAG_volatile_type:
     encoding_data_type = Type::eEncodingIsVolatileUID;
     break;
+  case DW_TAG_LLVM_ptrauth_type: {
+    DWARFDIE ptr_die = die.GetReferencedDIE(DW_AT_type);
----------------
Michael137 wrote:

Would be nice to put all of this in a helper function, in order to not bloat the size of `ParseTypeModifier`. But feel free to ignore.

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


More information about the lldb-commits mailing list