aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/lib/lsan/lsan_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/lsan/lsan_allocator.h')
-rw-r--r--compiler-rt/lib/lsan/lsan_allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_allocator.h b/compiler-rt/lib/lsan/lsan_allocator.h
index 17e13cd014ba..9d763789154f 100644
--- a/compiler-rt/lib/lsan/lsan_allocator.h
+++ b/compiler-rt/lib/lsan/lsan_allocator.h
@@ -50,7 +50,7 @@ struct ChunkMetadata {
};
#if defined(__mips64) || defined(__aarch64__) || defined(__i386__) || \
- defined(__arm__)
+ defined(__arm__) || SANITIZER_RISCV64
template <typename AddressSpaceViewTy>
struct AP32 {
static const uptr kSpaceBeg = 0;