[PATCH] D83247: [compiler-rt][asan][hwasan] Refactor shadow setup into sanitizer_common (NFCI)
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 17:39:44 PDT 2020
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:1083
+ largest_gap_found, max_occupied_addr);
+ uptr new_max_vm = RoundDownTo(largest_gap_found << SHADOW_SCALE, alignment);
+ if (new_max_vm < max_occupied_addr) {
----------------
tejohnson wrote:
> vitalybuka wrote:
> > SHADOW_SCALE is undefined here
> For this and other comments on the win/mac version, obviously I didn't do a very careful job of moving this code from asan to sanitizer_common. =( Will work on fixing those and need to find a way to at least compile these codes for those platforms to flush out these issues. If you have any pointers on setting up a cross compile of this code on a linux system please let me know.
>
>
I have setup to compile on Win. I can try updated patch and fix it up if necessary.
Unfortunately I have no OSX but it should be possible to find someone on the team.
Still there are other platforms where we can only rely on build bots.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83247/new/
https://reviews.llvm.org/D83247
More information about the llvm-commits
mailing list