When the output file is "-", write the image to lld::outs() (the stdoutOS argument of lld:🧝:link()) instead of committing the FileOutputBuffer, which writes to the process's stdout. This lets lld used as a library capture the output in a raw_ostream without an open syscall. This reimplements the stale #72061 and adds a unittest. |
||
|---|---|---|
| .. | ||
| AsLibAll | ||
| AsLibELF | ||
| CMakeLists.txt | ||