[Lldb-commits] [lldb] Reapply "[LLDB][ELF Core] Support all the Generic (Negative) SI Codes." (PR #141670)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Thu May 29 07:07:25 PDT 2025


================
@@ -27,6 +27,30 @@
 #ifndef SEGV_CPERR
 #define SEGV_CPERR 10
 #endif
+#ifndef SI_QUEUE
+#define SI_QUEUE -1
+#endif
+#ifndef SI_TIMER
+#define SI_TIMER -2
+#endif
+#ifndef SI_MESGQ
+#define SI_MESGQ -3
+#endif
+#ifndef SI_ASYNCIO
+#define SI_ASYNCIO -4
+#endif
+#ifndef SI_SIGIO
+#define SI_SIGIO -5
+#endif
+#ifndef SI_TKILL
+#define SI_TKILL -6
+#endif
----------------
Jlalond wrote:

Originally I just did DE_THREAD, but because they were all moved to ASM generic in the same commit in the Linux Kernel I thought it would be safest to do all of them

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


More information about the lldb-commits mailing list