Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/asan/asan_mapping.h | ||
---|---|---|
33–35 | can you do just |
compiler-rt/lib/asan/asan_mapping.h | ||
---|---|---|
23–24 | constexpr? |
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
191 | It was 0x7FFFFFFF & (~0xFFFULL << kDefaultShadowScale); |
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
191 | or we can remove COMPILER_RT_ASAN_SHADOW_SCALE and ASAN_SHADOW_SCALE, it's should be unused after related code was removed |
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
161 | 0x0aaa0000 for better alignment | |
168 | SANITIZER_IOS 32bit
| |
175 | kRiscv64_ShadowOffset64 = 0xd55550000; | |
176 | SANITIZER_MAC && defined(aarch64) should be __asan_shadow_memory_dynamic_address also SANITIZER_WINDOWS64 __asan_shadow_memory_dynamic_address | |
187 | this one was u64 kDefaultShadowOffset64 = 1ULL << 44 | |
190 | we lost # elif defined(__sparc__) # define SHADOW_OFFSET_CONST 0x80000000000 |
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
175 | it would be nice if you align all these to 8bytes with leading 0s as well |
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
175 |
You call, but I expected 64bit values like this: 0x0d55550000 -> 0x0000000d55550000 | |
176 | This one is not done? | |
187 |
I see you fixed the constant. What does this reply mean here? |
Sorry I didn't realize you have more comments before submitting it. Maybe you can send me a patch with the things that I missed in this one? Might be easier that way.
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
176 | Not sure what you mean by that. | |
187 | I added this error:
|
compiler-rt/lib/asan/asan_shadow_defines.h | ||
---|---|---|
176 | SANITIZER_MAC && defined(aarch64) had a different constant |
constexpr?