[ASan] Use a better name for a function parameter

llvm-svn: 234604
This commit is contained in:
Timur Iskhodzhanov 2015-04-10 15:31:16 +00:00
parent a9fceb803d
commit bd989e78f1
1 changed files with 3 additions and 3 deletions

View File

@ -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");