From 92cc47d5dc34bfa289d35f3fb97ce1f8cdf8b632 Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Tue, 30 Nov 2021 14:14:38 +0000 Subject: [PATCH] Remove newline from debug string. --- llvm/lib/Transforms/Yk/ControlPoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Yk/ControlPoint.cpp b/llvm/lib/Transforms/Yk/ControlPoint.cpp index 41f8df511f6e0a..1baaead752f77e 100644 --- a/llvm/lib/Transforms/Yk/ControlPoint.cpp +++ b/llvm/lib/Transforms/Yk/ControlPoint.cpp @@ -118,7 +118,7 @@ void createJITStatePrint(IRBuilder<> &Builder, Module *Mod, std::string Str) { FunctionType::get(Type::getVoidTy(Context), PointerType::get(Type::getInt8Ty(Context), 0), true)); Value *PutsString = - Builder.CreateGlobalStringPtr(StringRef(JIT_STATE_PREFIX + Str + "\n")); + Builder.CreateGlobalStringPtr(StringRef(JIT_STATE_PREFIX + Str)); Builder.CreateCall(Puts, PutsString); }