summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2019-07-15 22:07:56 +0000
committerMatt Morehouse <mascasa@google.com>2019-07-15 22:07:56 +0000
commit26c0eebb109ae9c7ca7687f62c034fe296eb0661 (patch)
tree79846ac0c4617f0501208b000f6269cc7f1402cc
parent8273937bb49db4a8847222a672be039421985d2b (diff)
downloadcompiler-rt-26c0eebb109ae9c7ca7687f62c034fe296eb0661.tar.gz
[ASan] Fix >80 character line.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@366136 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/asan/asan_malloc_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asan/asan_malloc_win.cc b/lib/asan/asan_malloc_win.cc
index ccbce061d..5fad55d6e 100644
--- a/lib/asan/asan_malloc_win.cc
+++ b/lib/asan/asan_malloc_win.cc
@@ -342,7 +342,8 @@ void *SharedReAlloc(ReAllocFunction reallocFunc, SizeFunction heapSizeFunc,
size_t old_usable_size = 0;
if (replacement_alloc) {
old_usable_size = asan_malloc_usable_size(lpMem, pc, bp);
- REAL(memcpy)(replacement_alloc, lpMem, Min<size_t>(dwBytes, old_usable_size));
+ REAL(memcpy)(replacement_alloc, lpMem,
+ Min<size_t>(dwBytes, old_usable_size));
asan_free(lpMem, &stack, FROM_MALLOC);
}
return replacement_alloc;