summaryrefslogtreecommitdiff
path: root/lib/hwasan
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2018-03-07 07:36:23 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2018-03-07 07:36:23 +0000
commitdd41ac244184bda1751f065ac467fc8ac260d1fd (patch)
treeab8c88358d6b8096900238925f83f8493f842639 /lib/hwasan
parent0639500fd242d68428b9e2959c7bf5227b9aeca8 (diff)
Attempt to appease buildbots
I can't reproduce this build error locally, but it appears straightforward enough to fix. r326851 renamed two of the params of this interceptor, but apparently to update their use here. Failure: http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/4569 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@326876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/hwasan')
-rw-r--r--lib/hwasan/hwasan_interceptors.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hwasan/hwasan_interceptors.cc b/lib/hwasan/hwasan_interceptors.cc
index db66c1b56..2c77879d5 100644
--- a/lib/hwasan/hwasan_interceptors.cc
+++ b/lib/hwasan/hwasan_interceptors.cc
@@ -275,7 +275,7 @@ static void *mmap_interceptor(Mmap real_mmap, void *addr, SIZE_T sz, int prot,
addr = nullptr;
}
}
- return real_mmap(addr, length, prot, flags, fd, offset);
+ return real_mmap(addr, sz, prot, flags, fd, off);
}
extern "C" int pthread_attr_init(void *attr);