[Lldb-commits] [lldb] [LLDB][ProcessELFCore] Add Description to ProcessELFCore/ELFThread stop reasons (PR #110065)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 30 10:48:12 PDT 2024
================
@@ -75,16 +75,25 @@ struct ELFLinuxPrStatus {
static_assert(sizeof(ELFLinuxPrStatus) == 112,
"sizeof ELFLinuxPrStatus is not correct!");
+union ELFSigval {
+ int sival_int;
+ void *sival_ptr;
+};
+
struct ELFLinuxSigInfo {
- int32_t si_signo;
- int32_t si_code;
+ int32_t si_signo; // Order matters for the first 3.
int32_t si_errno;
+ int32_t si_code;
+ void *addr; /* faulting insn/memory ref. */
+ int32_t addr_lsb; /* Valid LSB of the reported address. */
----------------
Jlalond wrote:
We can't use the `si_` prefixed variables because `siginfo_t.h` defines these all as Macros in the global namespace, and I didn't want to couple our build to the existence of that macro
https://github.com/llvm/llvm-project/pull/110065
More information about the lldb-commits
mailing list