diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2019-09-12 02:20:36 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2019-09-12 02:20:36 +0000 |
| commit | d2af368aee56abf77f4a6ca3fd57ebdb697c48f2 (patch) | |
| tree | 36057b4d4b1e3fd38d33027438c81834e88e100d /compiler-rt/lib/asan/asan_malloc_win.cpp | |
| parent | 6e8c21857ecb49b282c2ee4df434f27469647e5e (diff) | |
| download | bcm5719-llvm-d2af368aee56abf77f4a6ca3fd57ebdb697c48f2.tar.gz bcm5719-llvm-d2af368aee56abf77f4a6ca3fd57ebdb697c48f2.zip | |
[compiler-rt] Remove some cpplint filters
llvm-svn: 371704
Diffstat (limited to 'compiler-rt/lib/asan/asan_malloc_win.cpp')
| -rw-r--r-- | compiler-rt/lib/asan/asan_malloc_win.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler-rt/lib/asan/asan_malloc_win.cpp b/compiler-rt/lib/asan/asan_malloc_win.cpp index 9d107bee84f..13c6f652119 100644 --- a/compiler-rt/lib/asan/asan_malloc_win.cpp +++ b/compiler-rt/lib/asan/asan_malloc_win.cpp @@ -528,10 +528,11 @@ void ReplaceSystemMalloc() { (uptr)WRAP(RtlAllocateHeap), (uptr *)&REAL(RtlAllocateHeap)); } else { -#define INTERCEPT_UCRT_FUNCTION(func) \ - if (!INTERCEPT_FUNCTION_DLLIMPORT("ucrtbase.dll", \ - "api-ms-win-core-heap-l1-1-0.dll", func)) \ - VPrintf(2, "Failed to intercept ucrtbase.dll import %s\n", #func); +#define INTERCEPT_UCRT_FUNCTION(func) \ + if (!INTERCEPT_FUNCTION_DLLIMPORT( \ + "ucrtbase.dll", "api-ms-win-core-heap-l1-1-0.dll", func)) { \ + VPrintf(2, "Failed to intercept ucrtbase.dll import %s\n", #func); \ + } INTERCEPT_UCRT_FUNCTION(HeapAlloc); INTERCEPT_UCRT_FUNCTION(HeapFree); INTERCEPT_UCRT_FUNCTION(HeapReAlloc); |

