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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 24 05:49:31 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);
----------------
DavidSpickett wrote:

I've addressed this. Mostly.

There is a general problem with PrepareTrivalCall but it's a bigger job to fix so I've handled what I need here manually, but opened https://github.com/llvm/llvm-project/issues/124269 to fix it generally later.

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


More information about the lldb-commits mailing list