[Lldb-commits] [lldb] [LLDB][LoongArch] Add LSX and LASX register definitions and operations (PR #120664)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 20 02:59:58 PST 2024
================
@@ -27,6 +27,14 @@
// struct iovec definition
#include <sys/uio.h>
+#ifndef NT_LARCH_LSX
----------------
DavidSpickett wrote:
Our usual pattern is:
```
#ifndef THE_MACRO
#define THE_MACRO the_value_it_is_in_the_latest_kernel_headers
#endif
```
This allows you to build with older kernel headers.
So I agree that the name used should match that in the Linux kernel.
https://github.com/llvm/llvm-project/pull/120664
More information about the lldb-commits
mailing list