[PATCH] D92403: [LSan][RISCV] Enable LSan for RISCV64
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 14 12:10:48 PST 2021
MaskRay accepted this revision.
MaskRay added inline comments.
================
Comment at: compiler-rt/test/sanitizer_common/print_address.h:11
#if defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__) || \
- defined(__s390x__)
+ defined(__s390x__) || (defined(__riscv) && (__riscv_xlen == 64))
// On FreeBSD, the %p conversion specifier works as 0x%x and thus does not
----------------
`(__riscv_xlen == 64)` the paren is redundant
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92403/new/
https://reviews.llvm.org/D92403
More information about the cfe-commits
mailing list