[PATCH] D21157: [pdb] Improve StreamInterface to support writing

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 17:07:35 PDT 2016


ruiu added a comment.

IIUC, this is a patch to allow users to read and write arbitrary streams at arbitrary position just like files on a file system (I haven't read through yet, so correct me if I'm wrong.) I wonder if it is actually going to be needed. In most cases, we are going to create a new stream in PDB (by copying a stream and appending some data at end of it or in the middle of it) and then atomically update the MSF so that the old stream number now refers to the new stream, no? If that's the case, we open most streams as read-only and write to streams without seeking back.


http://reviews.llvm.org/D21157





More information about the llvm-commits mailing list