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());
     }
   }
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to