[compiler-rt] r260167 - [asan] Fix Windows build.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 15:01:06 PST 2016


Author: eugenis
Date: Mon Feb  8 17:01:06 2016
New Revision: 260167

URL: http://llvm.org/viewvc/llvm-project?rev=260167&view=rev
Log:
[asan] Fix Windows build.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc?rev=260167&r1=260166&r2=260167&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Mon Feb  8 17:01:06 2016
@@ -744,10 +744,10 @@ SignalContext SignalContext::Create(void
 #endif
   uptr access_addr = exception_record->ExceptionInformation[1];
 
-  bool is_write = false;  // FIXME: compute this.
-  bool is_memory_access = false;  // FIXME: compute this.
+  bool write_flag = SignalContext::UNKNOWN;  // FIXME: compute this.
+  bool is_memory_access = false;             // FIXME: compute this.
   return SignalContext(context, access_addr, pc, sp, bp, is_memory_access,
-                       is_write);
+                       write_flag);
 }
 
 uptr ReadBinaryName(/*out*/char *buf, uptr buf_len) {




More information about the llvm-commits mailing list