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

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 12 10:01:11 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h,c -- lldb/source/Plugins/ExpressionParser/Clang/InjectPointerSigningFixups.cpp lldb/source/Plugins/ExpressionParser/Clang/InjectPointerSigningFixups.h lldb/test/API/commands/expression/ptr-auth-fixups/main.c lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp b/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
index 373cc5e1d..49f8f4fd5 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
@@ -1754,7 +1754,8 @@ bool IRForTarget::runOnModule(Module &llvm_module) {
   // Run architecture specific module-level passes.
   if (llvm::Error error =
           lldb_private::InjectPointerSigningFixupCode(*m_module, m_policy)) {
-    LLDB_LOG_ERROR(log, std::move(error), "InsertPointerSigningFixups() failed: {0}");
+    LLDB_LOG_ERROR(log, std::move(error),
+                   "InsertPointerSigningFixups() failed: {0}");
     return false;
   }
 

``````````

</details>


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


More information about the lldb-commits mailing list