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