================
@@ -34,6 +34,20 @@
 #define MAP_PRIVATE 2
 #define MAP_ANON 0x20
 
+// For other platforms that use platform linux
+#ifndef SIGILL
+#define SIGILL 4
+#endif
+#ifndef SIGBUS
+#define SIGBUS 7
+#endif
+#ifndef SIGFPE
+#define SIGFPE 8
+#endif
+#ifndef SIGSEGV
+#define SIGSEGV 11
----------------
Jlalond wrote:

They're all defined in 
[signal.h](https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/signal.h),
 but we can build this class on a platform that won't have access to signal.h, 
so we need to ensure they're defined. 

https://github.com/llvm/llvm-project/pull/141971
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to