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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu May 29 01:32:58 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
----------------
labath wrote:

That's overdoing it a bit I'd say. I think we can remove these, as they are really, really old. We can easily add them back if any one turns out to be missing somewhere, but I doubt that will happen.

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


More information about the lldb-commits mailing list