[PATCH] D38973: COFF: Give manifest resource file a name.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 15:38:15 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL315948: COFF: Give manifest resource file a name. (authored by pcc).

Changed prior to commit:
  https://reviews.llvm.org/D38973?vs=119212&id=119220#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38973

Files:
  lld/trunk/COFF/DriverUtils.cpp


Index: lld/trunk/COFF/DriverUtils.cpp
===================================================================
--- lld/trunk/COFF/DriverUtils.cpp
+++ lld/trunk/COFF/DriverUtils.cpp
@@ -423,7 +423,8 @@
           sizeof(object::WinResHeaderPrefix) + sizeof(object::WinResIDs) +
           sizeof(object::WinResHeaderSuffix) + ManifestSize,
       object::WIN_RES_DATA_ALIGNMENT);
-  return MemoryBuffer::getNewMemBuffer(ResSize);
+  return MemoryBuffer::getNewMemBuffer(ResSize,
+                                       Config->OutputFile + ".manifest.res");
 }
 
 static void writeResFileHeader(char *&Buf) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38973.119220.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171016/d06a4843/attachment.bin>


More information about the llvm-commits mailing list