[Lldb-commits] [lldb] [LLDB][ProcessELFCore] Add Description to ProcessELFCore/ELFThread stop reasons (PR #110065)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 2 01:41:32 PDT 2024


================
@@ -541,9 +542,18 @@ size_t ELFLinuxSigInfo::GetSize(const lldb_private::ArchSpec &arch) {
   }
 }
 
+static bool IsSignalWithAddrValue(int signo) {
+  // SIGILL, SIGFPE, SIGSEGV, SIGBUS, SIGTRAP
+  // We can't use the enum here because it may not be available on windows or
+  // other platforms. We should make an LLDB platform agnostic enum for this
----------------
labath wrote:

We already have that. This data is encoded in the `process->GetUnixSignals()` object. You just need to plumb it to the right place.

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


More information about the lldb-commits mailing list