[compiler-rt] r193501 - Work around ASan/Win breakage by r193448
Timur Iskhodzhanov
timurrrr at google.com
Sun Oct 27 06:37:23 PDT 2013
Author: timurrrr
Date: Sun Oct 27 08:37:23 2013
New Revision: 193501
URL: http://llvm.org/viewvc/llvm-project?rev=193501&view=rev
Log:
Work around ASan/Win breakage by r193448
Modified:
compiler-rt/trunk/lib/asan/asan_report.cc
Modified: compiler-rt/trunk/lib/asan/asan_report.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_report.cc?rev=193501&r1=193500&r2=193501&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_report.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_report.cc Sun Oct 27 08:37:23 2013
@@ -551,7 +551,9 @@ class ScopedInErrorReport {
static void ReportSummary(const char *error_type, StackTrace *stack) {
AddressInfo ai;
- if (Symbolizer::Get()->IsAvailable()) {
+ // FIXME: The symbolizer interface should be changed in order to support
+ // Windows where we don't have a symbolizer.
+ if (!SANITIZER_WINDOWS && Symbolizer::Get()->IsAvailable()) {
// Currently, we include the first stack frame into the report summary.
// Maybe sometimes we need to choose another frame (e.g. skip memcpy/etc).
uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]);
More information about the llvm-commits
mailing list