<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yeah this whole thing is a disaster and it’s puzzling that we don’t test the whole logging but instead just crash on the end user machine. I’m currently writing a test that gives all this code at least coverage and then I guess we have to fix all of these bugs.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 4, 2020, at 10:53 AM, Shafik Yaghmour <<a href="mailto:syaghmour@apple.com" class="">syaghmour@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">This is a lot of errors, did it the index use to start at one before?<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">There is a type below, noted inline</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">On Mar 4, 2020, at 10:33 AM, Raphael Isemann via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org" class="">lldb-commits@lists.llvm.org</a>> wrote:<br class=""><br class=""><br class="">Author: Raphael Isemann<br class="">Date: 2020-03-04T10:32:50-08:00<br class="">New Revision: e98ef0af2c725f12dc60556a039e947ddeeb9f42<br class=""><br class="">URL: <a href="https://github.com/llvm/llvm-project/commit/e98ef0af2c725f12dc60556a039e947ddeeb9f42" class="">https://github.com/llvm/llvm-project/commit/e98ef0af2c725f12dc60556a039e947ddeeb9f42</a><br class="">DIFF: <a href="https://github.com/llvm/llvm-project/commit/e98ef0af2c725f12dc60556a039e947ddeeb9f42.diff" class="">https://github.com/llvm/llvm-project/commit/e98ef0af2c725f12dc60556a039e947ddeeb9f42.diff</a><br class=""><br class="">LOG: [lldb] Fix several LLDB_LOGs with wrong indices in ClangASTSource.cpp<br class=""><br class="">Added:<span class="Apple-converted-space"> </span><br class=""><br class=""><br class="">Modified:<span class="Apple-converted-space"> </span><br class="">  lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp<br class=""><br class="">Removed:<span class="Apple-converted-space"> </span><br class=""><br class=""><br class=""><br class="">################################################################################<br class="">diff  --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp<br class="">index 4d98d9cbdda3..6a8c7bd46559 100644<br class="">--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp<br class="">+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp<br class="">@@ -190,8 +190,8 @@ void ClangASTSource::CompleteType(TagDecl *tag_decl) {<br class=""><br class=""> if (log) {<br class="">   LLDB_LOG(log,<br class="">-             "    CompleteTagDecl on (ASTContext*){1} Completing "<br class="">-             "(TagDecl*){2} named {3}",<br class="">+             "    CompleteTagDecl on (ASTContext*){0} Completing "<br class="">+             "(TagDecl*){1} named {2}",<br class="">            m_clang_ast_context->getDisplayName(), tag_decl,<br class="">            tag_decl->getName());<br class=""><br class="">@@ -220,7 +220,7 @@ void ClangASTSource::CompleteType(TagDecl *tag_decl) {<br class="">     ClangASTImporter::NamespaceMapSP namespace_map =<br class="">         m_ast_importer_sp->GetNamespaceMap(namespace_context);<br class=""><br class="">-      LLDB_LOGV(log, "      CTD Inspecting namespace map{1} ({2} entries)",<br class="">+      LLDB_LOGV(log, "      CTD Inspecting namespace map{0} ({1} entries)",<br class="">               namespace_map.get(), namespace_map->size());<br class=""><br class="">     if (!namespace_map)<br class="">@@ -229,7 +229,7 @@ void ClangASTSource::CompleteType(TagDecl *tag_decl) {<br class="">     for (ClangASTImporter::NamespaceMap::iterator i = namespace_map->begin(),<br class="">                                                   e = namespace_map->end();<br class="">          i != e && !found; ++i) {<br class="">-        LLDB_LOG(log, "      CTD Searching namespace {1} in module {2}",<br class="">+        LLDB_LOG(log, "      CTD Searching namespace {0} in module {1}",<br class="">                i->second.GetName(), i->first->GetFileSpec().GetFilename());<br class=""><br class="">       TypeList types;<br class="">@@ -478,12 +478,12 @@ void ClangASTSource::FindExternalLexicalDecls(<br class="">       std::string ast_dump = ClangUtil::DumpDecl(decl);<br class="">       if (const NamedDecl *context_named_decl =<br class="">               dyn_cast<NamedDecl>(context_decl))<br class="">-          LLDB_LOG(log, "  FELD Adding [to {1}Decl {2}] lexical {3}Decl {4}",<br class="">+          LLDB_LOG(log, "  FELD Adding [to {0}Decl {1}] lexical {2}Decl 34}”,<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Typo should be {3} not 34}</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">                  context_named_decl->getDeclKindName(),<br class="">                  context_named_decl->getName(), decl->getDeclKindName(),<br class="">                  ast_dump);<br class="">       else<br class="">-          LLDB_LOG(log, "  FELD Adding lexical {1}Decl {2}",<br class="">+          LLDB_LOG(log, "  FELD Adding lexical {0}Decl {1}",<br class="">                  decl->getDeclKindName(), ast_dump);<br class="">     }<br class=""><br class="">@@ -527,19 +527,19 @@ void ClangASTSource::FindExternalVisibleDecls(NameSearchContext &context) {<br class="">   if (!context.m_decl_context)<br class="">     LLDB_LOG(log,<br class="">              "ClangASTSource::FindExternalVisibleDecls on "<br class="">-               "(ASTContext*){1} '{2}' for '{3}' in a NULL DeclContext",<br class="">+               "(ASTContext*){0} '{1}' for '{2}' in a NULL DeclContext",<br class="">              m_ast_context, m_clang_ast_context->getDisplayName(), name);<br class="">   else if (const NamedDecl *context_named_decl =<br class="">                dyn_cast<NamedDecl>(context.m_decl_context))<br class="">     LLDB_LOG(log,<br class="">              "ClangASTSource::FindExternalVisibleDecls on "<br class="">-               "(ASTContext*){1} '{2}' for '{3}' in '{4}'",<br class="">+               "(ASTContext*){0} '{1}' for '{2}' in '{3}'",<br class="">              m_ast_context, m_clang_ast_context->getDisplayName(), name,<br class="">              context_named_decl->getName());<br class="">   else<br class="">     LLDB_LOG(log,<br class="">              "ClangASTSource::FindExternalVisibleDecls on "<br class="">-               "(ASTContext*){1} '{2}' for '{3}' in a '{4}'",<br class="">+               "(ASTContext*){0} '{1}' for '{2}' in a '{3}'",<br class="">              m_ast_context, m_clang_ast_context->getDisplayName(), name,<br class="">              context.m_decl_context->getDeclKindName());<br class=""> }<br class="">@@ -631,7 +631,7 @@ void ClangASTSource::FindExternalVisibleDecls(<br class="">     if (log) {<br class="">       const char *name_string = type_sp->GetName().GetCString();<br class=""><br class="">-        LLDB_LOG(log, "  CAS::FEVD Matching type found for \"{1}\": {2}", name,<br class="">+        LLDB_LOG(log, "  CAS::FEVD Matching type found for \"{0}\": {1}", name,<br class="">                (name_string ? name_string : "<anonymous>"));<br class="">     }<br class=""><br class="">@@ -682,7 +682,7 @@ void ClangASTSource::FillNamespaceMap(<br class="">           std::pair<lldb::ModuleSP, CompilerDeclContext>(<br class="">               module_sp, found_namespace_decl));<br class=""><br class="">-        LLDB_LOG(log, "  CAS::FEVD Found namespace {1} in module {2}", name,<br class="">+        LLDB_LOG(log, "  CAS::FEVD Found namespace {0} in module {1}", name,<br class="">                module_sp->GetFileSpec().GetFilename());<br class="">     }<br class="">   }<br class="">@@ -712,7 +712,7 @@ void ClangASTSource::FillNamespaceMap(<br class="">         std::pair<lldb::ModuleSP, CompilerDeclContext>(image,<br class="">                                                        found_namespace_decl));<br class=""><br class="">-      LLDB_LOG(log, "  CAS::FEVD Found namespace {1} in module {2}", name,<br class="">+      LLDB_LOG(log, "  CAS::FEVD Found namespace {0} in module {1}", name,<br class="">              image->GetFileSpec().GetFilename());<br class="">   }<br class=""> }<br class="">@@ -841,7 +841,7 @@ bool ClangASTSource::FindObjCMethodDeclsWithOrigin(<br class=""><br class="">   Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS));<br class=""><br class="">-    LLDB_LOG(log, "  CAS::FOMD found ({1}) {2}", log_info,<br class="">+    LLDB_LOG(log, "  CAS::FOMD found ({0}) {1}", log_info,<br class="">            ClangUtil::DumpDecl(copied_method_decl));<br class=""><br class="">   context.AddNamedDecl(copied_method_decl);<br class="">@@ -866,7 +866,7 @@ void ClangASTSource::FindDeclInModules(NameSearchContext &context,<br class=""> if (!modules_decl_vendor->FindDecls(name, append, max_matches, decls))<br class="">   return;<br class=""><br class="">-  LLDB_LOG(log, "  CAS::FEVD Matching entity found for \"{1}\" in the modules",<br class="">+  LLDB_LOG(log, "  CAS::FEVD Matching entity found for \"{0}\" in the modules",<br class="">          name);<br class=""><br class=""> clang::NamedDecl *const decl_from_modules = decls[0];<br class="">@@ -981,8 +981,8 @@ void ClangASTSource::FindObjCMethodDecls(NameSearchContext &context) {<br class=""> ConstString selector_name(ss.GetString());<br class=""><br class=""> LLDB_LOG(log,<br class="">-           "ClangASTSource::FindObjCMethodDecls on (ASTContext*){1} '{2}' "<br class="">-           "for selector [{3} {4}]",<br class="">+           "ClangASTSource::FindObjCMethodDecls on (ASTContext*){0} '{1}' "<br class="">+           "for selector [{2} {3}]",<br class="">          m_ast_context, m_clang_ast_context->getDisplayName(),<br class="">          interface_decl->getName(), selector_name);<br class=""> SymbolContextList sc_list;<br class="">@@ -1104,7 +1104,7 @@ void ClangASTSource::FindObjCMethodDecls(NameSearchContext &context) {<br class="">       if (!copied_method_decl)<br class="">         continue;<br class=""><br class="">-        LLDB_LOG(log, "  CAS::FOMD found (in symbols)\n{1}",<br class="">+        LLDB_LOG(log, "  CAS::FOMD found (in symbols)\n{0}",<br class="">                ClangUtil::DumpDecl(copied_method_decl));<br class=""><br class="">       context.AddNamedDecl(copied_method_decl);<br class="">@@ -1134,7 +1134,7 @@ void ClangASTSource::FindObjCMethodDecls(NameSearchContext &context) {<br class=""><br class="">   LLDB_LOG(log,<br class="">            "CAS::FOPD trying origin "<br class="">-             "(ObjCInterfaceDecl*){1}/(ASTContext*){2}...",<br class="">+             "(ObjCInterfaceDecl*){0}/(ASTContext*){1}...",<br class="">            complete_interface_decl, &complete_iface_decl->getASTContext());<br class=""><br class="">   FindObjCMethodDeclsWithOrigin(context, complete_interface_decl,<br class="">@@ -1233,7 +1233,7 @@ static bool FindObjCPropertyAndIvarDeclsWithOrigin(<br class="">   DeclFromParser<ObjCPropertyDecl> parser_property_decl(<br class="">       origin_property_decl.Import(source));<br class="">   if (parser_property_decl.IsValid()) {<br class="">-      LLDB_LOG(log, "  CAS::FOPD found\n{1}",<br class="">+      LLDB_LOG(log, "  CAS::FOPD found\n{0}",<br class="">              ClangUtil::DumpDecl(parser_property_decl.decl));<br class=""><br class="">     context.AddNamedDecl(parser_property_decl.decl);<br class="">@@ -1248,7 +1248,7 @@ static bool FindObjCPropertyAndIvarDeclsWithOrigin(<br class="">   DeclFromParser<ObjCIvarDecl> parser_ivar_decl(<br class="">       origin_ivar_decl.Import(source));<br class="">   if (parser_ivar_decl.IsValid()) {<br class="">-      LLDB_LOG(log, "  CAS::FOPD found\n{1}",<br class="">+      LLDB_LOG(log, "  CAS::FOPD found\n{0}",<br class="">              ClangUtil::DumpDecl(parser_ivar_decl.decl));<br class=""><br class="">     context.AddNamedDecl(parser_ivar_decl.decl);<br class="">@@ -1271,7 +1271,7 @@ void ClangASTSource::FindObjCPropertyAndIvarDecls(NameSearchContext &context) {<br class=""><br class=""> LLDB_LOG(log,<br class="">          "ClangASTSource::FindObjCPropertyAndIvarDecls on "<br class="">-           "(ASTContext*){1} '{2}' for '{3}.{4}'",<br class="">+           "(ASTContext*){0} '{1}' for '{2}.{3}'",<br class="">          m_ast_context, m_clang_ast_context->getDisplayName(),<br class="">          parser_iface_decl->getName(), context.m_decl_name.getAsString());<br class=""><br class="">@@ -1280,7 +1280,7 @@ void ClangASTSource::FindObjCPropertyAndIvarDecls(NameSearchContext &context) {<br class=""><br class=""> LLDB_LOG(log,<br class="">          "CAS::FOPD couldn't find the property on origin "<br class="">-           "(ObjCInterfaceDecl*){1}/(ASTContext*){2}, searching "<br class="">+           "(ObjCInterfaceDecl*){0}/(ASTContext*){1}, searching "<br class="">          "elsewhere...",<br class="">          origin_iface_decl.decl, &origin_iface_decl->getASTContext());<br class=""><br class="">@@ -1305,7 +1305,7 @@ void ClangASTSource::FindObjCPropertyAndIvarDecls(NameSearchContext &context) {<br class=""><br class="">   LLDB_LOG(log,<br class="">            "CAS::FOPD trying origin "<br class="">-             "(ObjCInterfaceDecl*){1}/(ASTContext*){2}...",<br class="">+             "(ObjCInterfaceDecl*){0}/(ASTContext*){1}...",<br class="">            complete_iface_decl.decl, &complete_iface_decl->getASTContext());<br class=""><br class="">   FindObjCPropertyAndIvarDeclsWithOrigin(context, *this, complete_iface_decl);<br class="">@@ -1338,7 +1338,7 @@ void ClangASTSource::FindObjCPropertyAndIvarDecls(NameSearchContext &context) {<br class=""><br class="">   LLDB_LOG(log,<br class="">            "CAS::FOPD[{0}] trying module "<br class="">-             "(ObjCInterfaceDecl*){1}/(ASTContext*){2}...",<br class="">+             "(ObjCInterfaceDecl*){0}/(ASTContext*){1}...",<br class="">            interface_decl_from_modules.decl,<br class="">            &interface_decl_from_modules->getASTContext());<br class=""><br class="">@@ -1382,7 +1382,7 @@ void ClangASTSource::FindObjCPropertyAndIvarDecls(NameSearchContext &context) {<br class=""><br class="">   LLDB_LOG(log,<br class="">            "CAS::FOPD[{0}] trying runtime "<br class="">-             "(ObjCInterfaceDecl*){1}/(ASTContext*){2}...",<br class="">+             "(ObjCInterfaceDecl*){0}/(ASTContext*){1}...",<br class="">            interface_decl_from_runtime.decl,<br class="">            &interface_decl_from_runtime->getASTContext());<br class=""><br class="">@@ -1401,7 +1401,7 @@ void ClangASTSource::LookupInNamespace(NameSearchContext &context) {<br class=""> ClangASTImporter::NamespaceMapSP namespace_map =<br class="">     m_ast_importer_sp->GetNamespaceMap(namespace_context);<br class=""><br class="">-  LLDB_LOGV(log, "  CAS::FEVD Inspecting namespace map {1} ({2} entries)",<br class="">+  LLDB_LOGV(log, "  CAS::FEVD Inspecting namespace map {0} ({1} entries)",<br class="">           namespace_map.get(), namespace_map->size());<br class=""><br class=""> if (!namespace_map)<br class="">@@ -1410,7 +1410,7 @@ void ClangASTSource::LookupInNamespace(NameSearchContext &context) {<br class=""> for (ClangASTImporter::NamespaceMap::iterator i = namespace_map->begin(),<br class="">                                               e = namespace_map->end();<br class="">      i != e; ++i) {<br class="">-    LLDB_LOG(log, "  CAS::FEVD Searching namespace {1} in module {2}",<br class="">+    LLDB_LOG(log, "  CAS::FEVD Searching namespace {0} in module {1}",<br class="">            i->second.GetName(), i->first->GetFileSpec().GetFilename());<br class=""><br class="">   FindExternalVisibleDecls(context, i->first, i->second);<br class="">@@ -1506,7 +1506,7 @@ bool ClangASTSource::layoutRecordType(const RecordDecl *record, uint64_t &size,<br class=""> Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS));<br class=""><br class=""> LLDB_LOG(log,<br class="">-           "LayoutRecordType on (ASTContext*){1} '{2}' for (RecordDecl*)"<br class="">+           "LayoutRecordType on (ASTContext*){0} '{1}' for (RecordDecl*)"<br class="">          "{3} [name = '{4}']",<br class="">          m_ast_context, m_clang_ast_context->getDisplayName(), record,<br class="">          record->getName());<br class="">@@ -1583,7 +1583,7 @@ bool ClangASTSource::layoutRecordType(const RecordDecl *record, uint64_t &size,<br class="">                                   fe = record->field_end();<br class="">        fi != fe; ++fi) {<br class="">     LLDB_LOG(log,<br class="">-               "LRT[{0}]     (FieldDecl*){1}, Name = '{2}', Offset = {3} bits",<br class="">+               "LRT     (FieldDecl*){0}, Name = '{1}', Offset = {2} bits",<br class="">              *fi, fi->getName(), field_offsets[*fi]);<br class="">   }<br class="">   DeclFromParser<const CXXRecordDecl> parser_cxx_record =<br class="">@@ -1603,8 +1603,8 @@ bool ClangASTSource::layoutRecordType(const RecordDecl *record, uint64_t &size,<br class="">           DynCast<CXXRecordDecl>(base_record);<br class=""><br class="">       LLDB_LOG(log,<br class="">-                 "LRT     {1}(CXXRecordDecl*){2}, Name = '{3}', Offset = "<br class="">-                 "{4} chars",<br class="">+                 "LRT     {0}(CXXRecordDecl*){1}, Name = '{2}', Offset = "<br class="">+                 "{3} chars",<br class="">                (is_virtual ? "Virtual " : ""), base_cxx_record.decl,<br class="">                base_cxx_record.decl->getName(),<br class="">                (is_virtual<br class="">@@ -1628,14 +1628,14 @@ void ClangASTSource::CompleteNamespaceMap(<br class=""> if (log) {<br class="">   if (parent_map && parent_map->size())<br class="">     LLDB_LOG(log,<br class="">-               "CompleteNamespaceMap on (ASTContext*){1} '{2}' Searching "<br class="">-               "for namespace {3} in namespace {4}",<br class="">+               "CompleteNamespaceMap on (ASTContext*){0} '{1}' Searching "<br class="">+               "for namespace {2} in namespace {3}",<br class="">              m_ast_context, m_clang_ast_context->getDisplayName(), name,<br class="">              parent_map->begin()->second.GetName());<br class="">   else<br class="">     LLDB_LOG(log,<br class="">-               "CompleteNamespaceMap on (ASTContext*){1} '{2}' Searching "<br class="">-               "for namespace {3}",<br class="">+               "CompleteNamespaceMap on (ASTContext*){0} '{1}' Searching "<br class="">+               "for namespace {2}",<br class="">              m_ast_context, m_clang_ast_context->getDisplayName(), name);<br class=""> }<br class=""><br class="">@@ -1662,7 +1662,7 @@ void ClangASTSource::CompleteNamespaceMap(<br class="">     namespace_map->push_back(std::pair<lldb::ModuleSP, CompilerDeclContext>(<br class="">         module_sp, found_namespace_decl));<br class=""><br class="">-      LLDB_LOG(log, "  CMN Found namespace {1} in module {2}", name,<br class="">+      LLDB_LOG(log, "  CMN Found namespace {0} in module {1}", name,<br class="">              module_sp->GetFileSpec().GetFilename());<br class="">   }<br class=""> } else {<br class="">@@ -1693,7 +1693,7 @@ void ClangASTSource::CompleteNamespaceMap(<br class="">     namespace_map->push_back(std::pair<lldb::ModuleSP, CompilerDeclContext>(<br class="">         image, found_namespace_decl));<br class=""><br class="">-      LLDB_LOG(log, "  CMN[{0}] Found namespace {1} in module {2}", name,<br class="">+      LLDB_LOG(log, "  CMN[{0}] Found namespace {0} in module {1}", name,<br class="">              image->GetFileSpec().GetFilename());<br class="">   }<br class=""> }<br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">lldb-commits mailing list<br class=""><a href="mailto:lldb-commits@lists.llvm.org" class="">lldb-commits@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</blockquote></div></blockquote></div><br class=""></body></html>