Skip to content

Commit

Permalink
Remove newline from debug string.
Browse files Browse the repository at this point in the history
  • Loading branch information
vext01 committed Nov 30, 2021
1 parent 3d636b0 commit 92cc47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Yk/ControlPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 92cc47d

Please sign in to comment.