[PATCH] D39426: [sanitizer] Fixing an error introduced in D39072

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 11:14:09 PDT 2017


cryptoad created this revision.
Herald added a subscriber: kubamracek.

This should fix the Windows bots after https://reviews.llvm.org/D39072.


https://reviews.llvm.org/D39426

Files:
  lib/sanitizer_common/sanitizer_win.cc


Index: lib/sanitizer_common/sanitizer_win.cc
===================================================================
--- lib/sanitizer_common/sanitizer_win.cc
+++ lib/sanitizer_common/sanitizer_win.cc
@@ -242,7 +242,7 @@
   if (tolerate_enomem) {
     return reinterpret_cast<uptr>(MmapFixedOrDieOnFatalError(fixed_addr, size));
   }
-  return reinterpret_cast<uptr>(MmapFixedOrDie(uptr fixed_addr, uptr size));
+  return reinterpret_cast<uptr>(MmapFixedOrDie(fixed_addr, size));
 }
 
 void ReservedAddressRange::Unmap(uptr addr, uptr size) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39426.120843.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171030/e66668a3/attachment.bin>


More information about the llvm-commits mailing list