diff options
author | Kristof Beyls <kristof.beyls@arm.com> | 2019-03-07 10:14:38 +0000 |
---|---|---|
committer | Kristof Beyls <kristof.beyls@arm.com> | 2019-03-07 10:14:38 +0000 |
commit | 730ecf8fd5f5025021a2799a0f8b80431cbc04b1 (patch) | |
tree | 85b51f542fec6245cb5908e06f9528738fe02421 /llvm/lib/ExecutionEngine/Interpreter | |
parent | 878271b2945e89b868fb8daefea3dfaffce32710 (diff) | |
download | bcm5719-llvm-730ecf8fd5f5025021a2799a0f8b80431cbc04b1.tar.gz bcm5719-llvm-730ecf8fd5f5025021a2799a0f8b80431cbc04b1.zip |
Add newline to interpreter debugging output
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
llvm-svn: 355587
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 4c1cf95b37f..170f0155e5b 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -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... } } |