[PATCH] D86905: Flush bitcode incrementally for LTO output

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 9 10:33:19 PDT 2021


mehdi_amini added a comment.

This looks like a nice idea: can you include perf numbers in the description?



================
Comment at: llvm/include/llvm/Bitcode/BitcodeWriter.h:50
     /// Create a BitcodeWriter that writes to Buffer.
-    BitcodeWriter(SmallVectorImpl<char> &Buffer);
+    BitcodeWriter(SmallVectorImpl<char> &Buffer, raw_fd_stream *FS = nullptr);
 
----------------
I think this is the main public API entry point change?
Likely worth updating the doc clearly here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86905/new/

https://reviews.llvm.org/D86905



More information about the llvm-commits mailing list