]> granicus.if.org Git - llvm/commitdiff
Add newline to interpreter debugging output
authorKristof Beyls <kristof.beyls@arm.com>
Thu, 7 Mar 2019 10:14:38 +0000 (10:14 +0000)
committerKristof Beyls <kristof.beyls@arm.com>
Thu, 7 Mar 2019 10:14:38 +0000 (10:14 +0000)
When running lli --debug --force-interpreter=true the executed instructions are
printed but are missing newlines. This commit adds the missing newlines.

Patch by Andrew Brown.

Differential Revision: https://reviews.llvm.org/D57806

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355587 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Execution.cpp

index 4c1cf95b37f8c356e5e3f3081c342fe5fff68c7a..170f0155e5b756d25af5ad0ec2ec6609d77cd0fb 100644 (file)
@@ -2112,7 +2112,7 @@ void Interpreter::run() {
     // Track the number of dynamic instructions executed.
     ++NumDynamicInsts;
 
-    LLVM_DEBUG(dbgs() << "About to interpret: " << I);
+    LLVM_DEBUG(dbgs() << "About to interpret: " << I << "\n");
     visit(I);   // Dispatch to one of the visit* methods...
   }
 }