As with 64 bit x86 use an offset in middle of the address space scaled up to work with the full 48 bit space.
Details
Details
- Reviewers
MaskRay - Group Reviewers
Restricted Project - Commits
- rGb3c1442c6c0b: [compiler-rt] Add the FreeBSD AArch64 shadow offset
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
There is no change in any tests passing as no asan tests are run on FreeBSD AArch64. This is compiler-rt part of the change that is needed to support asan there. There is also D125756 for the common sanitizer parts, and an as yet unsubmitted changes to add the offset to llvm and enable the sanitizers in clang.
With these the only failing asan test is SanitizerCommon-asan-aarch64-FreeBSD :: print-stack-trace.cpp. This seems to be a broken test as it inlines a function but assumes the caller and inlined callee will have different addresses.