[llvm-bugs] [Bug 36275] New: PDB "modules" section does not contain import libraries/DLLs

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 7 08:36:45 PST 2018


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

            Bug ID: 36275
           Summary: PDB "modules" section does not contain import
                    libraries/DLLs
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: stefan.reinalter at molecular-matters.com
                CC: llvm-bugs at lists.llvm.org

When producing a PDB using lld, the module list does not contain import DLLs
such as kernel32.dll. PDBs produced by MSVC's linker will add entries such as
"Import:KERNEL32.dll" for all import libraries that contributed to the final
image.

Furthermore, for symbols pulled in from import libraries (again e.g.
kernel32.lib) the section contributions in the PDB will list the "* Linker *"
compiland instead of the original import library.

Is this something that could be changed in lld? It may seem unimportant, but it
allows one to reconstruct the full paths of all libraries that were used to
build the image, e.g. C:\Program Files (x86)\Windows
Kits\8.1\lib\winv6.3\um\x86\kernel32.lib

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180207/f6d42c82/attachment.html>


More information about the llvm-bugs mailing list