[PATCH] D123814: [compiler-rt][lsan] Update CanBeAHeapPointer for AArch64
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 18 14:44:22 PDT 2022
pcc added inline comments.
================
Comment at: compiler-rt/lib/lsan/lsan_common.cpp:255
# elif defined(__aarch64__)
- unsigned runtimeVMA = (MostSignificantSetBitIndex(GET_CURRENT_FRAME()) + 1);
- return ((p >> runtimeVMA) == 0);
+ // Accept up to 48 bit VMA.
+ return ((p >> 48) == 0);
----------------
I think AArch64 can have up to 52 bit VAs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123814/new/
https://reviews.llvm.org/D123814
More information about the llvm-commits
mailing list