From 40d66e61084cc113d9757b698f39587b4c647861 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 20 May 2015 19:15:43 +0000 Subject: [PATCH] Since the asan report function doesn't gather bp or sp, don't put those values in the Structured Data we make up from the report. llvm-svn: 237824 --- .../AddressSanitizer/AddressSanitizerRuntime.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp b/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp index 4056b5812562..d845b23694cd 100644 --- a/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp +++ b/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp @@ -178,8 +178,10 @@ AddressSanitizerRuntime::RetrieveReportData() return StructuredData::ObjectSP(); addr_t pc = return_value_sp->GetValueForExpressionPath(".pc")->GetValueAsUnsigned(0); + /* commented out because rdar://problem/18533301 addr_t bp = return_value_sp->GetValueForExpressionPath(".bp")->GetValueAsUnsigned(0); addr_t sp = return_value_sp->GetValueForExpressionPath(".sp")->GetValueAsUnsigned(0); + */ addr_t address = return_value_sp->GetValueForExpressionPath(".address")->GetValueAsUnsigned(0); addr_t access_type = return_value_sp->GetValueForExpressionPath(".access_type")->GetValueAsUnsigned(0); addr_t access_size = return_value_sp->GetValueForExpressionPath(".access_size")->GetValueAsUnsigned(0); @@ -192,8 +194,10 @@ AddressSanitizerRuntime::RetrieveReportData() dict->AddStringItem("instrumentation_class", "AddressSanitizer"); dict->AddStringItem("stop_type", "fatal_error"); dict->AddIntegerItem("pc", pc); + /* commented out because rdar://problem/18533301 dict->AddIntegerItem("bp", bp); dict->AddIntegerItem("sp", sp); + */ dict->AddIntegerItem("address", address); dict->AddIntegerItem("access_type", access_type); dict->AddIntegerItem("access_size", access_size);