[all-commits] [llvm/llvm-project] f1a471: [hwasan] Remove untagging of kernel-consumed memory
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Fri Apr 23 11:05:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1a47181f5c6b3d5ef4040ab889c3aa0cfdae297
https://github.com/llvm/llvm-project/commit/f1a47181f5c6b3d5ef4040ab889c3aa0cfdae297
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)
Changed paths:
M compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c
M compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c
M compiler-rt/test/hwasan/TestCases/Linux/reuse-threads.cpp
R compiler-rt/test/hwasan/TestCases/Linux/utils.h
Log Message:
-----------
[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
More information about the All-commits
mailing list