================
@@ -8,7 +8,10 @@
 
 #include "LinuxSignals.h"
 
-#ifdef __linux__
+// Now, because we do not support mips debugging, if we compile LLVM on mips
+// target, would report error `static assertion failed:Value mismatch for 
signal
+// number SIGBUS`, so add this condition to avoid error.
----------------
labath wrote:

```suggestion
// mips-linux debugging is not supported and mips uses different numbers for 
some signals (e.g. SIGBUS) on linux, so we skip the static checks below. The 
definitions here can be used for debugging non-mips targets on a mips-hosted 
lldb.
```

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

Reply via email to