commit | 43e99ae95299017fb3cbb7d1c8677c6006d3537f | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Mon May 27 16:02:19 2013 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Mon May 27 16:02:19 2013 +0000 |
tree | 50f0ab80515576749ef638dd0766b70a65904bfa | |
parent | ebe3a3608be122e799e264931f9cecf4cbc84edd [diff] |
Use an address-of operator here to silence an MSVC warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182740 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_stacktrace.cc b/lib/sanitizer_common/sanitizer_stacktrace.cc index 1114638..724c29c 100644 --- a/lib/sanitizer_common/sanitizer_stacktrace.cc +++ b/lib/sanitizer_common/sanitizer_stacktrace.cc
@@ -85,7 +85,7 @@ 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());