[llvm] d467396 - [emamples][OrcV2Examples] Fix a missing newline in LLJITRemovableCode output.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 30 09:03:01 PDT 2023
Author: Lang Hames
Date: 2023-07-30T08:51:42-07:00
New Revision: d467396ae0594310848f84f29ec5439fde3ef905
URL: https://github.com/llvm/llvm-project/commit/d467396ae0594310848f84f29ec5439fde3ef905
DIFF: https://github.com/llvm/llvm-project/commit/d467396ae0594310848f84f29ec5439fde3ef905.diff
LOG: [emamples][OrcV2Examples] Fix a missing newline in LLJITRemovableCode output.
Added:
Modified:
llvm/examples/OrcV2Examples/LLJITRemovableCode/LLJITRemovableCode.cpp
Removed:
################################################################################
diff --git a/llvm/examples/OrcV2Examples/LLJITRemovableCode/LLJITRemovableCode.cpp b/llvm/examples/OrcV2Examples/LLJITRemovableCode/LLJITRemovableCode.cpp
index 4739efc2eccf1f..a91ebbb730ce93 100644
--- a/llvm/examples/OrcV2Examples/LLJITRemovableCode/LLJITRemovableCode.cpp
+++ b/llvm/examples/OrcV2Examples/LLJITRemovableCode/LLJITRemovableCode.cpp
@@ -92,7 +92,7 @@ int main(int argc, char *argv[]) {
auto PrintSymbol = [&](StringRef Name) {
dbgs() << Name << " = ";
if (auto Sym = J->lookup(JD, Name))
- dbgs() << *Sym;
+ dbgs() << *Sym << "\n";
else
dbgs() << "error: " << toString(Sym.takeError()) << "\n";
};
More information about the llvm-commits
mailing list