[all-commits] [llvm/llvm-project] 3c8652: [compiler-rt][Fuchsia] Change GetMaxUserVirtualAdd...
PiJoules via All-commits
all-commits at lists.llvm.org
Wed Aug 20 18:06:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c8652e737fa203044f2fee401cfe2e575ceda24
https://github.com/llvm/llvm-project/commit/3c8652e737fa203044f2fee401cfe2e575ceda24
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2025-08-20 (Wed, 20 Aug 2025)
Changed paths:
M compiler-rt/lib/asan/asan_fuchsia.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
Log Message:
-----------
[compiler-rt][Fuchsia] Change GetMaxUserVirtualAddress to invoke syscall (#153309)
LSan was recently refactored to call GetMaxUserVirtualAddress for
diagnostic purposes. This leads to failures for some of our downstream
tests which only run with lsan. This occurs because
GetMaxUserVirtualAddress depends on setting up shadow via a call to
__sanitizer_shadow_bounds, but shadow bounds aren't set for standalone
lsan because it doesn't use shadow. This updates the function to invoke
the same syscall used by __sanitizer_shadow_bounds calls for getting the
memory limit. Ideally this function would only be called once since we
only need to get the bounds once.
More context in https://fxbug.dev/437346226.
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