[PATCH] D47089: CodeGen: Add a dwo output file argument to addPassesToEmitFile and hook it up to dwo output.

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 20 21:46:25 PDT 2018


echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.

One inline comment for discussion and LGTM.

-eric



================
Comment at: llvm/lib/CodeGen/LLVMTargetMachine.cpp:199
                                             raw_pwrite_stream &Out,
+                                            raw_pwrite_stream *DwoOut,
                                             CodeGenFileType FileType,
----------------
I think the general output stream here at all is pretty awkward, but this isn't necessarily making it worse. Any ideas on where/how to clean this particular one up since you're in there right now? :)


https://reviews.llvm.org/D47089





More information about the llvm-commits mailing list