[PATCH] D49942: [ASAN] Port asan to FreeBSD/mips64.
    James Clarke via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Aug  1 16:17:18 PDT 2018
    
    
  
jrtc27 added inline comments.
================
Comment at: lib/asan/asan_mapping.h:220
 #    define SHADOW_OFFSET kSystemZ_ShadowOffset64
-#  elif SANITIZER_FREEBSD
+#  elif SANITIZER_FREEBSD && !defined(__mips64)
 #    define SHADOW_OFFSET kFreeBSD_ShadowOffset64
----------------
Is there a reason why you don't just hoist the `__mips64` case up to line 215 to come before this, like is done for 32-bit MIPS on line 188?
Repository:
  rCRT Compiler Runtime
https://reviews.llvm.org/D49942
    
    
More information about the llvm-commits
mailing list