[compiler-rt] tsan: add support for linux/loongarch64 in lib/tsan/go/buildgo.sh (PR #72819)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 00:11:26 PST 2023


================
@@ -697,6 +726,8 @@ ALWAYS_INLINE auto SelectMapping(Arg arg) {
   return Func::template Apply<MappingGoS390x>(arg);
 #  elif defined(__aarch64__)
   return Func::template Apply<MappingGoAarch64>(arg);
+#  elif defined(__loongarch64)
----------------
Ami-zhang wrote:

` #  elif defined(__loongarch64)`
Please use `__loongarch_lp64` instead of `__loongarch64`.

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


More information about the llvm-commits mailing list