[Lldb-commits] [lldb] [lldb] Tighten ABI assert in `StopInfoMachException::DeterminePtrauthFailure` (NFC) (PR #95015)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 11 10:50:59 PDT 2024


================
@@ -110,6 +108,9 @@ bool StopInfoMachException::DeterminePtrauthFailure(ExecutionContext &exe_ctx) {
     strm.Printf("Note: Possible pointer authentication failure detected.\n");
   };
 
+  ABISP abi_sp = process.GetABI();
+  assert(abi_sp && "Missing ABI info");
----------------
medismailben wrote:

@clayborg Would you be fine that ? @jasonmolenda would we still need to call `FixAnyAddress` here ?

```suggestion
  if(!abi_sp) {
    // log missing ABI info
    return false;
  }
```

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


More information about the lldb-commits mailing list