[PATCH] D22206: COFF: drop the dependency on LIB.EXE for implibs

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 23:31:16 PDT 2016


compnerd updated this revision to Diff 63642.
compnerd added a comment.

Replaced the use of the BumpPtr allocator with the std::vector.  Note that we pass the buffer in as otherwise the content will be discarded at the end of the function since the NewArchiveMember does not copy the contents.  Since we no longer use the bump allocator, we need to ensure that the content will be preserved during the lifetime of the object until the archive is written to disk.


http://reviews.llvm.org/D22206

Files:
  COFF/CMakeLists.txt
  COFF/DriverUtils.cpp
  COFF/Librarian.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22206.63642.patch
Type: text/x-patch
Size: 21543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160712/c70690c9/attachment.bin>


More information about the llvm-commits mailing list