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

Walter Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 12:54:07 PDT 2018


waltl added inline comments.


================
Comment at: compiler-rt/lib/asan/asan_mapping.h:294
 #if ASAN_FIXED_MAPPING
+#if SANITIZER_MYRIAD2
+static uptr kHighMemEnd = 0;
----------------
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().



Repository:
  rL LLVM

https://reviews.llvm.org/D46456





More information about the llvm-commits mailing list