HomePhabricator

[hwasan] Remove untagging of kernel-consumed memory

Authored by hctim on Apr 23 2021, 10:45 AM.

Description

[hwasan] Remove untagging of kernel-consumed memory

Now that page aliasing for x64 has landed, we don't need to worry about
passing tagged pointers to libc, and thus D98875 removed it.
Unfortunately, we still test on aarch64 devices that don't have the
kernel tagged address ABI (https://reviews.llvm.org/D98875#2649269).

All the memory that we pass to the kernel in these tests is from global
variables. Instead of having architecture-specific untagging mechanisms
for this memory, let's just not tag the globals.

Reviewed By: eugenis, morehouse

Differential Revision: https://reviews.llvm.org/D101121

Details

Committed
hctimApr 23 2021, 11:04 AM
Reviewer
eugenis
Differential Revision
D101121: [hwasan] Remove untagging of kernel-consumed memory
Parents
rGa92dbadffe4f: [OpenMP] Fix -Wdeprecated-copy
Branches
Unknown
Tags
Unknown