aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorPiJoules <6019989+PiJoules@users.noreply.github.com>2025-08-20 18:06:19 -0700
committerGitHub <noreply@github.com>2025-08-20 18:06:19 -0700
commit3c8652e737fa203044f2fee401cfe2e575ceda24 (patch)
treeb797042926848d3be8cfa4d487e485cd6c713b61 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent8cb6bfe05a26e40dee21d6107655baacc03540a9 (diff)
downloadllvm-3c8652e737fa203044f2fee401cfe2e575ceda24.zip
llvm-3c8652e737fa203044f2fee401cfe2e575ceda24.tar.gz
llvm-3c8652e737fa203044f2fee401cfe2e575ceda24.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions