aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2021-03-25 06:34:25 -0700
committerMatt Morehouse <mascasa@google.com>2021-03-25 07:04:14 -0700
commit96a4167b4c7e7e43d11b98f30bed84e4a626281a (patch)
treeea4cb4af4b1856fc13597cdaf7dd94948bdd101c /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentc83cd8feef7eb8319131d968bb8c94fdc8dbb6a6 (diff)
downloadllvm-96a4167b4c7e7e43d11b98f30bed84e4a626281a.zip
llvm-96a4167b4c7e7e43d11b98f30bed84e4a626281a.tar.gz
llvm-96a4167b4c7e7e43d11b98f30bed84e4a626281a.tar.bz2
[HWASan] Use page aliasing on x86_64.
Userspace page aliasing allows us to use middle pointer bits for tags without untagging them before syscalls or accesses. This should enable easier experimentation with HWASan on x86_64 platforms. Currently stack, global, and secondary heap tagging are unsupported. Only primary heap allocations get tagged. Note that aliasing mode will not work properly in the presence of fork(), since heap memory will be shared between the parent and child processes. This mode is non-ideal; we expect Intel LAM to enable full HWASan support on x86_64 in the future. Reviewed By: vitalybuka, eugenis Differential Revision: https://reviews.llvm.org/D98875
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions