From: Pavel Labath Date: Thu, 8 Aug 2019 11:49:55 +0000 (+0000) Subject: Fix LLDB_CONFIGURATION_DEBUG builds for the GetSymbolVendor removal X-Git-Tag: llvmorg-11-init~12399 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0de33de81338304492526053d0c1cfa616e58992;p=platform%2Fupstream%2Fllvm.git Fix LLDB_CONFIGURATION_DEBUG builds for the GetSymbolVendor removal fix one usage that is ifdefed-out in non-debug builds. llvm-svn: 368279 --- diff --git a/lldb/source/Symbol/SymbolContext.cpp b/lldb/source/Symbol/SymbolContext.cpp index ccd74b7..5647f5b 100644 --- a/lldb/source/Symbol/SymbolContext.cpp +++ b/lldb/source/Symbol/SymbolContext.cpp @@ -504,12 +504,8 @@ bool SymbolContext::GetParentOfInlinedScope(const Address &curr_frame_pc, else { ObjectFile *objfile = nullptr; if (module_sp) { - SymbolVendor *symbol_vendor = module_sp->GetSymbolVendor(); - if (symbol_vendor) { - SymbolFile *symbol_file = symbol_vendor->GetSymbolFile(); - if (symbol_file) - objfile = symbol_file->GetObjectFile(); - } + if (SymbolFile *symbol_file = module_sp->GetSymbolFile()) + objfile = symbol_file->GetObjectFile(); } if (objfile) { Host::SystemLog(