[Lldb-commits] [lldb] [lldb] Support PtrAuth in the expression evaluator (PR #186001)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 12 09:35:34 PDT 2026


================
@@ -0,0 +1,182 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "InjectPointerSigningFixups.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/Function.h"
+#include "llvm/IR/IRBuilder.h"
+#include "llvm/IR/Module.h"
+#include "llvm/Support/raw_ostream.h"
+#include "llvm/TargetParser/Triple.h"
+
+using namespace llvm;
+
+namespace {
+
+struct PtrAuthFixup {
+  GlobalVariable *GV;
+  ConstantPtrAuth *CPA;
+  SmallVector<unsigned, 4> Indices;
----------------
JDevlieghere wrote:

No reasoning, it probably predated when you had to pass a value. I'm dropping the count across the file.

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


More information about the lldb-commits mailing list