[PATCH] D84004: [compiler-rt][asan] Define MemToShadowSize for sparc64
Rainer Orth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 01:05:04 PDT 2020
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0db3ac33540e: [compiler-rt][asan] Define MemToShadowSize for sparc64 (authored by ro).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84004/new/
https://reviews.llvm.org/D84004
Files:
compiler-rt/lib/asan/asan_mapping_sparc64.h
Index: compiler-rt/lib/asan/asan_mapping_sparc64.h
===================================================================
--- compiler-rt/lib/asan/asan_mapping_sparc64.h
+++ compiler-rt/lib/asan/asan_mapping_sparc64.h
@@ -61,6 +61,7 @@
namespace __asan {
+static inline uptr MemToShadowSize(uptr size) { return size >> SHADOW_SCALE; }
static inline bool AddrIsInLowMem(uptr a) {
PROFILE_ASAN_MAPPING();
return a <= kLowMemEnd;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84004.278674.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200717/9cbbc2c9/attachment.bin>
More information about the llvm-commits
mailing list