[compiler-rt] r182740 - Use an address-of operator here to silence an MSVC warning.
Peter Collingbourne
peter at pcc.me.uk
Mon May 27 09:02:19 PDT 2013
Author: pcc
Date: Mon May 27 11:02:19 2013
New Revision: 182740
URL: http://llvm.org/viewvc/llvm-project?rev=182740&view=rev
Log:
Use an address-of operator here to silence an MSVC warning.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc?rev=182740&r1=182739&r2=182740&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc Mon May 27 11:02:19 2013
@@ -85,7 +85,7 @@ void StackTrace::PrintStack(const uptr *
frame_num++;
}
}
- if (symbolize && addr_frames_num == 0 && SymbolizeCode) {
+ if (symbolize && addr_frames_num == 0 && &SymbolizeCode) {
// Use our own (online) symbolizer, if necessary.
addr_frames_num = SymbolizeCode(pc, addr_frames.data(),
addr_frames.size());
More information about the llvm-commits
mailing list