search for: withcolor

Displaying 1 result from an estimated 1 matches for "withcolor".

2020 Apr 15
3
Backend emitting to string instead of file
...tStr); buffer_ostream pstream(stream); if (Target->addPassesToEmitFile(PM, pstream,                                     DwoOut ? &DwoOut->os() : nullptr,                                     FileType, NoVerify, MMIWP)) later, e.g., after PM.run(*M), I check the string for content with WithColor::warning(errs(), argv[0]) << "with flush, output size: " << outStr.length() << "\n"; But this always yields "with flush, output size: 0" I tried to flush the raw_string_ostream before using the string, same result. The used command line was llc...