[asan] Remove an unsigned compare >= 0

This is not needed after we've forked the Myriad version.  Not to
mention it produces a compiler warning.

Differential Revision: https://reviews.llvm.org/D47054

llvm-svn: 332744
This commit is contained in:
Walter Lee 2018-05-18 17:52:12 +00:00
parent f94ed26ea9
commit 927f4ec1ff
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ namespace __asan {
static inline bool AddrIsInLowMem(uptr a) {
PROFILE_ASAN_MAPPING();
return a >= kLowMemBeg && a <= kLowMemEnd;
return a <= kLowMemEnd;
}
static inline bool AddrIsInLowShadow(uptr a) {