This change will switch SizeClassAllocator32 to SizeClassAllocator64 on ARM. This might potentially affect ARM platforms with 39-bit address space. This addresses issues/703, but unlike D60243 it defaults to 64 bit allocator.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Can you please include https://github.com/google/sanitizers/issues/703 to git commit and review message
compiler-rt/lib/sanitizer_common/sanitizer_platform.h | ||
---|---|---|
287–290 | Maybe |
I included issues/703 and check-all passes on my machine.
compiler-rt/lib/sanitizer_common/sanitizer_platform.h | ||
---|---|---|
287–290 | But this would affect SANITIZER_ANDROID, right? |
It's one of required patches, @kstoimenov can upload other patches as well, and link using stack?
compiler-rt/lib/sanitizer_common/sanitizer_platform.h | ||
---|---|---|
287–290 | Not on ARM64 I believe android and fuchsia IF here is to override aarch64 parrt you already removing. Some concerns if someone actually care about mips64 or RISCV64 on android/fuchsia, and if existing state is working there at all. @phosek |
compiler-rt/lib/sanitizer_common/sanitizer_platform.h | ||
---|---|---|
287–290 | I will submit as is and will send a patch which simplifies it. |
Is it possible that this broke this fuzzer?
https://lab.llvm.org/buildbot/#/builders/240/builds/981/steps/8/logs/stdio
AddressSanitizer: CHECK failed: asan_poisoning.cpp:38 "((AddrIsInMem(addr))) != (0)" (0x0, 0x0) (tid=3685666) <empty stack>
Maybe