I want to print an instruction in LLVM for a string instead of a screen. I use I->print( errs() ) to print to the screen. How can I put an instruction in a string instead?
I->print( errs() )
Like this,
std::string str; llvm::raw_string_ostream rso(str); I->print(rso);
Source: https://habr.com/ru/post/1447769/More articles:Search for an MSB-set of a maximum element in an array - optimizationChanging the background color of a link block when it hangs - htmlApplication not responding when opening Word file in asp.net? - c #Using Microsoft.Office.Interop.Word in asp.net - c #A program or library for processing massive numbers - javaProgramming in Lua 2nd ed says: ".. is the correct associative" - luaTake a screenshot with openGL and save it as png - cRails uses MS SQL database - ruby | fooobar.comAndroid Android naming convention - java.NET JavaScriptSerializer.Deserialize () ignores decimal period in numbers from JSON - jsonAll Articles