From bde653382b8da4e127fb1f7039d99d7cbf938542 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Tue, 23 Sep 2025 23:17:27 +0200 Subject: [PATCH] [LLDB][PDB] Fix plugin warning message style --- lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp | 4 ++-- lldb/test/Shell/SymbolFile/NativePDB/native-setting.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp index 9f4eb1c21711d..3b936c06b1072 100644 --- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp +++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp @@ -139,8 +139,8 @@ class PluginProperties : public Properties { if (!IsNativeReaderRequested()) { static std::once_flag g_warning_shown; Debugger::ReportWarning( - "The DIA PDB reader was explicitly requested, but LLDB was built " - "without the DIA SDK. The native reader will be used instead.", + "the DIA PDB reader was explicitly requested, but LLDB was built " + "without the DIA SDK. The native reader will be used instead", {}, &g_warning_shown); } return true; diff --git a/lldb/test/Shell/SymbolFile/NativePDB/native-setting.cpp b/lldb/test/Shell/SymbolFile/NativePDB/native-setting.cpp index 41ddba746b4ac..dc26ec8d30cb4 100644 --- a/lldb/test/Shell/SymbolFile/NativePDB/native-setting.cpp +++ b/lldb/test/Shell/SymbolFile/NativePDB/native-setting.cpp @@ -38,7 +38,7 @@ // NO-ENV: Dumping debug symbols for 1 modules. // NO-ENV: SymbolFile native-pdb -// ENV0: warning: The DIA PDB reader was explicitly requested, but LLDB was built without the DIA SDK. The native reader will be used instead. +// ENV0: warning: the DIA PDB reader was explicitly requested, but LLDB was built without the DIA SDK. The native reader will be used instead // ENV0: (lldb) target modules dump symfile // ENV0: Dumping debug symbols for 1 modules. // ENV0: SymbolFile native-pdb @@ -48,12 +48,12 @@ // ENV1: Dumping debug symbols for 1 modules. // ENV1: SymbolFile native-pdb -// ENV0-SET-DIA: warning: The DIA PDB reader was explicitly requested, but LLDB was built without the DIA SDK. The native reader will be used instead. +// ENV0-SET-DIA: warning: the DIA PDB reader was explicitly requested, but LLDB was built without the DIA SDK. The native reader will be used instead // ENV0-SET-DIA: (lldb) target modules dump symfile // ENV0-SET-DIA: Dumping debug symbols for 1 modules. // ENV0-SET-DIA: SymbolFile native-pdb -// ENV1-SET-DIA: warning: The DIA PDB reader was explicitly requested, but LLDB was built without the DIA SDK. The native reader will be used instead. +// ENV1-SET-DIA: warning: the DIA PDB reader was explicitly requested, but LLDB was built without the DIA SDK. The native reader will be used instead // ENV1-SET-DIA: (lldb) target modules dump symfile // ENV1-SET-DIA: Dumping debug symbols for 1 modules. // ENV1-SET-DIA: SymbolFile native-pdb