@@ -314,7 +314,7 @@ SymbolFilePDB::ParseCompileUnitFunctionForPDBFunc(const PDBSymbolFunc &pdb_func,
314
314
auto type_system_or_err = GetTypeSystemForLanguage (lang);
315
315
if (auto err = type_system_or_err.takeError ()) {
316
316
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
317
- " Unable to parse PDBFunc" );
317
+ " Unable to parse PDBFunc: {0} " );
318
318
return nullptr ;
319
319
}
320
320
@@ -565,7 +565,7 @@ lldb_private::Type *SymbolFilePDB::ResolveTypeUID(lldb::user_id_t type_uid) {
565
565
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
566
566
if (auto err = type_system_or_err.takeError ()) {
567
567
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
568
- " Unable to ResolveTypeUID" );
568
+ " Unable to ResolveTypeUID: {0} " );
569
569
return nullptr ;
570
570
}
571
571
@@ -602,7 +602,7 @@ bool SymbolFilePDB::CompleteType(lldb_private::CompilerType &compiler_type) {
602
602
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
603
603
if (auto err = type_system_or_err.takeError ()) {
604
604
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
605
- " Unable to get dynamic array info for UID" );
605
+ " Unable to get dynamic array info for UID: {0} " );
606
606
return false ;
607
607
}
608
608
auto ts = *type_system_or_err;
@@ -624,7 +624,7 @@ lldb_private::CompilerDecl SymbolFilePDB::GetDeclForUID(lldb::user_id_t uid) {
624
624
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
625
625
if (auto err = type_system_or_err.takeError ()) {
626
626
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
627
- " Unable to get decl for UID" );
627
+ " Unable to get decl for UID: {0} " );
628
628
return CompilerDecl ();
629
629
}
630
630
auto ts = *type_system_or_err;
@@ -654,7 +654,7 @@ SymbolFilePDB::GetDeclContextForUID(lldb::user_id_t uid) {
654
654
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
655
655
if (auto err = type_system_or_err.takeError ()) {
656
656
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
657
- " Unable to get DeclContext for UID" );
657
+ " Unable to get DeclContext for UID: {0} " );
658
658
return CompilerDeclContext ();
659
659
}
660
660
@@ -685,7 +685,7 @@ SymbolFilePDB::GetDeclContextContainingUID(lldb::user_id_t uid) {
685
685
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
686
686
if (auto err = type_system_or_err.takeError ()) {
687
687
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
688
- " Unable to get DeclContext containing UID" );
688
+ " Unable to get DeclContext containing UID: {0} " );
689
689
return CompilerDeclContext ();
690
690
}
691
691
@@ -715,7 +715,7 @@ void SymbolFilePDB::ParseDeclsForContext(
715
715
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
716
716
if (auto err = type_system_or_err.takeError ()) {
717
717
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
718
- " Unable to parse decls for context" );
718
+ " Unable to parse decls for context: {0} " );
719
719
return ;
720
720
}
721
721
@@ -1464,7 +1464,7 @@ void SymbolFilePDB::DumpClangAST(Stream &s) {
1464
1464
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
1465
1465
if (auto err = type_system_or_err.takeError ()) {
1466
1466
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
1467
- " Unable to dump ClangAST" );
1467
+ " Unable to dump ClangAST: {0} " );
1468
1468
return ;
1469
1469
}
1470
1470
@@ -1677,7 +1677,7 @@ PDBASTParser *SymbolFilePDB::GetPDBAstParser() {
1677
1677
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
1678
1678
if (auto err = type_system_or_err.takeError ()) {
1679
1679
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
1680
- " Unable to get PDB AST parser" );
1680
+ " Unable to get PDB AST parser: {0} " );
1681
1681
return nullptr ;
1682
1682
}
1683
1683
@@ -1698,7 +1698,7 @@ SymbolFilePDB::FindNamespace(lldb_private::ConstString name,
1698
1698
GetTypeSystemForLanguage (lldb::eLanguageTypeC_plus_plus);
1699
1699
if (auto err = type_system_or_err.takeError ()) {
1700
1700
LLDB_LOG_ERROR (GetLog (LLDBLog::Symbols), std::move (err),
1701
- " Unable to find namespace {}" , name.AsCString ());
1701
+ " Unable to find namespace {1}: {0 }" , name.AsCString ());
1702
1702
return CompilerDeclContext ();
1703
1703
}
1704
1704
auto ts = *type_system_or_err;
@@ -1993,7 +1993,7 @@ bool SymbolFilePDB::DeclContextMatchesThisSymbolFile(
1993
1993
if (auto err = type_system_or_err.takeError ()) {
1994
1994
LLDB_LOG_ERROR (
1995
1995
GetLog (LLDBLog::Symbols), std::move (err),
1996
- " Unable to determine if DeclContext matches this symbol file" );
1996
+ " Unable to determine if DeclContext matches this symbol file: {0} " );
1997
1997
return false ;
1998
1998
}
1999
1999
0 commit comments