mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
Misc module/dwarf logging improvements
This change improves the logging for the lldb.module category to note a few interesting cases: 1. Local object file found, but specs not matching 2. Local object file not found, using a placeholder module The handling and logging for the cases wehre we fail to load compressed dwarf symbols is also improved. Differential Revision: https://reviews.llvm.org/D50274 llvm-svn: 339161
This commit is contained in:
@@ -5842,7 +5842,7 @@ void Process::ModulesDidLoad(ModuleList &module_list) {
|
||||
// that loaded.
|
||||
|
||||
// Iterate over a copy of this language runtime list in case the language
|
||||
// runtime ModulesDidLoad somehow causes the language riuntime to be
|
||||
// runtime ModulesDidLoad somehow causes the language runtime to be
|
||||
// unloaded.
|
||||
LanguageRuntimeCollection language_runtimes(m_language_runtimes);
|
||||
for (const auto &pair : language_runtimes) {
|
||||
@@ -6095,7 +6095,7 @@ void Process::MapSupportedStructuredDataPlugins(
|
||||
// For each StructuredDataPlugin, if the plugin handles any of the types in
|
||||
// the supported_type_names, map that type name to that plugin. Stop when
|
||||
// we've consumed all the type names.
|
||||
// FIXME: should we return an error if there are type names nobody
|
||||
// FIXME: should we return an error if there are type names nobody
|
||||
// supports?
|
||||
for (uint32_t plugin_index = 0; !const_type_names.empty(); plugin_index++) {
|
||||
auto create_instance =
|
||||
@@ -6103,7 +6103,7 @@ void Process::MapSupportedStructuredDataPlugins(
|
||||
plugin_index);
|
||||
if (!create_instance)
|
||||
break;
|
||||
|
||||
|
||||
// Create the plugin.
|
||||
StructuredDataPluginSP plugin_sp = (*create_instance)(*this);
|
||||
if (!plugin_sp) {
|
||||
|
||||
Reference in New Issue
Block a user