[PATCH] D39469: [asan] Add CMake hook to override default shadow scale
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 13:03:08 PST 2017
vitalybuka added a comment.
Just talked with @eugenis
Maybe simpler approach is following:
1. we have llvm flag in AddressSanitizer.cpp which deppends on platform, 8 or 32
2. runtime also will pick 8 or 32 from platfor
3. if you'd like to setup build bot on e.g. x86 just to test 32, than you call add override flag like this. but it should be in compiler-rt only: e.g. COMPILER_RT_ASAN_SHADOW_GRANULARITY
This flag can switch granularity of runtime and also add -mllvm -asan-shadow-granularity=32 for tests
https://reviews.llvm.org/D39469
More information about the llvm-commits
mailing list