[PATCH] D140528: [MSan] Enable MSAN for loongarch64

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 14:30:42 PDT 2023


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: compiler-rt/lib/msan/msan_allocator.cpp:82
+#elif defined(__loongarch_lp64)
+static const uptr kAllocatorSpace = 0x700000000000ULL;
+static const uptr kMaxAllowedMallocSize = 8UL << 30;
----------------
namespace-scope const is automatically internal linkage, so you can omit `static`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140528/new/

https://reviews.llvm.org/D140528



More information about the llvm-commits mailing list