[PATCH] D49231: Add import libraries to list of modules in PDB

Stefan Reinalter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 06:05:07 PDT 2018


stefan_reinalter created this revision.
stefan_reinalter added a reviewer: zturner.
stefan_reinalter added a project: lld.
Herald added a subscriber: MaskRay.

This patch adds import libraries such as kernel32.dll to the list of modules stored in the PDB, similar to MSVC's link.exe.
Import libraries are first collected into a set and then output as "Import:AModuleNameHere.dll" into the list of modules in order to mimic MSVC's behaviour.

Fixes bug 36275:
https://bugs.llvm.org/show_bug.cgi?id=36275


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49231

Files:
  COFF/Driver.cpp
  COFF/PDB.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49231.155157.patch
Type: text/x-patch
Size: 6223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180712/575360dd/attachment.bin>


More information about the llvm-commits mailing list