[PATCH] D23721: [gold/ThinLTO] Restore ThinLTO file management in gold plugin

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 09:18:23 PDT 2016


mehdi_amini added a comment.

It seems to me that this should be part of the contract of the API: at the moment all the input buffers are supposed to stay available for the duration of the process.
This is not an issue for mapped file I believe (which I guess every clients are using right now?), but a client that have to decompress buffers in memory before calling the API may be happy to have the ability to release buffers early. We could rework the InputFile to carry the lifetime if needed.


Repository:
  rL LLVM

https://reviews.llvm.org/D23721





More information about the llvm-commits mailing list