[PATCH] D46456: [asan] Add support for Myriad RTEMS memory map

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 14:09:14 PDT 2018


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/asan/asan_mapping.h:294
 #if ASAN_FIXED_MAPPING
+#if SANITIZER_MYRIAD2
+static uptr kHighMemEnd = 0;
----------------
waltl wrote:
> vitalybuka wrote:
> > you can use ASAN_FIXED_MAPPING and platform specific FindDynamicShadowStart() 
> Can you clarify?  If I use ASAN_FIXED_MAPPING I have to clone the definitions in this header, and initialize them in the header and not FindDynamicShadowStart().
> 
Sorry, I meant to write "NOT ASAN_FIXED_MAPPING" and reset pointers in runtime from platform specific FindDynamicShadowStart


Repository:
  rL LLVM

https://reviews.llvm.org/D46456





More information about the llvm-commits mailing list