[compiler-rt] r220643 - Try to fix the Windows build after r220637

Hans Wennborg hans at hanshq.net
Sun Oct 26 12:27:03 PDT 2014


Author: hans
Date: Sun Oct 26 14:27:02 2014
New Revision: 220643

URL: http://llvm.org/viewvc/llvm-project?rev=220643&view=rev
Log:
Try to fix the Windows build after r220637

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=220643&r1=220642&r2=220643&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Sun Oct 26 14:27:02 2014
@@ -483,7 +483,7 @@ void BufferedStackTrace::SlowUnwindStack
                      &stack_frame, &ctx, NULL, &SymFunctionTableAccess64,
                      &SymGetModuleBase64, NULL) &&
          size < Min(max_depth, kStackTraceMax)) {
-    trace[size++] = (uptr)stack_frame.AddrPC.Offset;
+    trace_buffer[size++] = (uptr)stack_frame.AddrPC.Offset;
   }
 }
 #endif  // #if !SANITIZER_GO





More information about the llvm-commits mailing list