[compiler-rt] [CFI] Allow LoongArch (PR #67314)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 10:09:24 PDT 2023
================
@@ -53,6 +53,13 @@ struct A {
virtual void f();
};
+// The page size of LoongArch is 16KB, aligned to the memory page size.
+#ifdef __loongarch_lp64
----------------
MaskRay wrote:
If the 32-bit variant also uses 16kib pagesize, just use `__loongarch__` so that this line don't need to be changed if 32-bit is ever allowed.
https://github.com/llvm/llvm-project/pull/67314
More information about the llvm-commits
mailing list