<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PDB "modules" section does not contain import libraries/DLLs"
   href="https://bugs.llvm.org/show_bug.cgi?id=36275">36275</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PDB "modules" section does not contain import libraries/DLLs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stefan.reinalter@molecular-matters.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>