[compiler-rt] [HWASan] [compiler-rt] support non-4k pages on Android (PR #95069)
Evgenii Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 13:11:19 PDT 2024
================
@@ -139,7 +137,8 @@ void UnmapFromTo(uptr from, uptr to);
// shadow_size_bytes bytes on the right, which on linux is mapped no access.
// The high_mem_end may be updated if the original shadow size doesn't fit.
uptr MapDynamicShadow(uptr shadow_size_bytes, uptr shadow_scale,
- uptr min_shadow_base_alignment, uptr &high_mem_end);
+ uptr min_shadow_base_alignment, uptr &high_mem_end,
+ const uptr granularity);
----------------
eugenis wrote:
We never put const on non-pointer non-reference function arguments.
https://github.com/llvm/llvm-project/pull/95069
More information about the llvm-commits
mailing list