From e38046aae1f76e525c2466af20c27269185a37bf Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Sun, 27 Oct 2013 13:37:23 +0000 Subject: Work around ASan/Win breakage by r193448 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193501 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/asan/asan_report.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc index 5406ac02..ca060089 100644 --- a/lib/asan/asan_report.cc +++ b/lib/asan/asan_report.cc @@ -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]); -- cgit v1.2.3