forked from OSchip/llvm-project
[ASan] Use a better name for a function parameter
llvm-svn: 234604
This commit is contained in:
parent
a9fceb803d
commit
bd989e78f1
|
@ -297,9 +297,9 @@ static void InitializeHighMemEnd() {
|
|||
CHECK_EQ((kHighMemBeg % GetPageSizeCached()), 0);
|
||||
}
|
||||
|
||||
static void ProtectGap(uptr a, uptr size) {
|
||||
void *res = MmapNoAccess(a, size);
|
||||
if (a == (uptr)res)
|
||||
static void ProtectGap(uptr addr, uptr size) {
|
||||
void *res = MmapNoAccess(addr, size);
|
||||
if (addr == (uptr)res)
|
||||
return;
|
||||
Report("ERROR: Failed to protect the shadow gap. "
|
||||
"ASan cannot proceed correctly. ABORTING.\n");
|
||||
|
|
Loading…
Reference in New Issue