[all-commits] [llvm/llvm-project] 046ae8: [scudo] Small cleanup of memory tagging code. (#16...
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Mon Nov 10 14:17:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 046ae855360614c5980d0ced0c55b5de507bd9ad
https://github.com/llvm/llvm-project/commit/046ae855360614c5980d0ced0c55b5de507bd9ad
Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
Date: 2025-11-10 (Mon, 10 Nov 2025)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/memtag.h
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
Log Message:
-----------
[scudo] Small cleanup of memory tagging code. (#166860)
Make the systemSupportsMemoryTagging() function return even on system
that don't support memory tagging. This avoids the need to always check
if memory tagging is supported before calling th function.
Make systemSupportsMemoryTagging() cache the getauxval return value
instead of calling the function every time.
Updated the code that calls systemSupportsMemoryTagging().
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list