search for: dwoout

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

Did you mean: dbxout
2020 Apr 15
3
Backend emitting to string instead of file
...with some non-zero output. However, if try to write the output (assembly or object) to a string (via buffer_ostream) the resulting string has always zero length. Here the code changes I do: Original llc:       if (Target->addPassesToEmitFile(PM, *OS,                                       DwoOut ? &DwoOut->os() : nullptr,                                       FileType, NoVerify, MMIWP)) Now, with this tiny change I was hoping to write to a string instead of the output stream defined by the command line parameters: std::string outStr; raw_string_ostream stream(outStr); buffer_os...