[llvm] [mlir] [Dwarf] Support `__ptrauth` qualifier in metadata nodes (PR #83862)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 16:10:15 PST 2024


================
@@ -1048,6 +1088,39 @@ class DIDerivedType : public DIType {
     return DWARFAddressSpace;
   }
 
+  std::optional<PtrAuthData> getPtrAuthData() const;
+
+  /// \returns The PointerAuth key.
+  std::optional<unsigned> getPtrAuthKey() const {
----------------
kovdan01 wrote:

These are just small shortcuts which do not give any value except what you described above. I personally have no strong preference, so accepting your suggestion - deleted the helpers. See f765247a3d49b3b726a7442d8d31c1cbd4782154

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


More information about the llvm-commits mailing list