[PATCH] D25495: [ThinLTO] Avoid archive member collisions

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 21:33:01 PDT 2016


mehdi_amini added a comment.

Oh sure, as long as the full path to the archive is kept and not only the archive name itself, that should be fine!



================
Comment at: ELF/InputFiles.cpp:718
+  // Here we pass a new MemoryBufferRef which is identified by ArchiveName +
+  // member name + size of the archive. ThinLTO internally uses the memory buffer
+  // ref identifier to access its internal data structures and if two archives
----------------
s/size of the archive/size of the member buffer/


https://reviews.llvm.org/D25495





More information about the llvm-commits mailing list