[Lldb-commits] [lldb] 4067115 - [lldb] Log module build remarks to types log too (#84260)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 21:12:14 PST 2024


Author: Dave Lee
Date: 2024-03-06T21:12:10-08:00
New Revision: 40671156757cc3f2304085a6642a24efc8165df7

URL: https://github.com/llvm/llvm-project/commit/40671156757cc3f2304085a6642a24efc8165df7
DIFF: https://github.com/llvm/llvm-project/commit/40671156757cc3f2304085a6642a24efc8165df7.diff

LOG: [lldb] Log module build remarks to types log too (#84260)

Added: 
    

Modified: 
    lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
index cc5250ca0f7883..2d778e410b0e73 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
@@ -183,7 +183,7 @@ void StoringDiagnosticConsumer::EndSourceFile() {
 
 bool StoringDiagnosticConsumer::HandleModuleRemark(
     const clang::Diagnostic &info) {
-  Log *log = GetLog(LLDBLog::Expressions);
+  Log *log = GetLog(LLDBLog::Types | LLDBLog::Expressions);
   switch (info.getID()) {
   case clang::diag::remark_module_build: {
     const auto &module_name = info.getArgStdStr(0);


        


More information about the lldb-commits mailing list