[Lldb-commits] [lldb] [lldb][AArch64] Fix expression evaluation with Guarded Control Stacks (PR #123918)

Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 23 14:35:08 PST 2025


================
@@ -103,6 +156,9 @@ bool ABISysV_arm64::PrepareTrivialCall(Thread &thread, addr_t sp,
           return_addr))
     return false;
 
+  if (GetProcessSP()->GetTarget().GetArchitecture().GetTriple().isOSLinux())
+    PushToLinuxGuardedControlStack(return_addr, reg_ctx, thread);
----------------
omjavaid wrote:

what if this call returns fails specially when it failed to update the shadow stack and GCS was enabled?

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


More information about the lldb-commits mailing list