[compiler-rt] r234604 - [ASan] Use a better name for a function parameter
Timur Iskhodzhanov
timurrrr at google.com
Fri Apr 10 08:31:16 PDT 2015
Author: timurrrr
Date: Fri Apr 10 10:31:16 2015
New Revision: 234604
URL: http://llvm.org/viewvc/llvm-project?rev=234604&view=rev
Log:
[ASan] Use a better name for a function parameter
Modified:
compiler-rt/trunk/lib/asan/asan_rtl.cc
Modified: compiler-rt/trunk/lib/asan/asan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_rtl.cc?rev=234604&r1=234603&r2=234604&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Fri Apr 10 10:31:16 2015
@@ -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");
More information about the llvm-commits
mailing list