[Lldb-commits] [lldb] 7a63907 - Add a log message to the IR interpreter.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 30 14:08:30 PST 2022


Author: Adrian Prantl
Date: 2022-11-30T14:08:14-08:00
New Revision: 7a63907021344b3aed322cd86bfa09678653e5dc

URL: https://github.com/llvm/llvm-project/commit/7a63907021344b3aed322cd86bfa09678653e5dc
DIFF: https://github.com/llvm/llvm-project/commit/7a63907021344b3aed322cd86bfa09678653e5dc.diff

LOG: Add a log message to the IR interpreter.

This line existed in our internal branch and seems to be generally
useful, so I'm upstreaming it.

Added: 
    

Modified: 
    lldb/source/Expression/IRInterpreter.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp
index d03fea6ffce3..8e09e9f02244 100644
--- a/lldb/source/Expression/IRInterpreter.cpp
+++ b/lldb/source/Expression/IRInterpreter.cpp
@@ -531,6 +531,7 @@ bool IRInterpreter::CanInterpret(llvm::Module &module, llvm::Function &function,
         return false;
       }
       saw_function_with_body = true;
+      LLDB_LOGF(log, "Saw function with body: %s", f.getName().str().c_str());
     }
   }
 


        


More information about the lldb-commits mailing list