<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 * Linker * module does not contain COFF groups"
   href="https://bugs.llvm.org/show_bug.cgi?id=36277">36277</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PDB * Linker * module does not contain COFF groups
          </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>PDBs produced by MSVC's linker contain a * Linker * compiland that stores COFF
groups as SymTagCoffGroup children of this linker compiland, such as the
following (output produced using DIA2Dump):

CoffGroup      : [0x0001:0x00000000]  0x00001000, len = 00003310,
characteristics = 60000020, .text$di
CoffGroup      : [0x0002:0x0000030c]  0x0001630C, len = 00000164,
characteristics = 40000040, .CRT$XCU
CoffGroup      : [0x000a:0x00000000]  0x00023000, len = 00000104,
characteristics = 40000040, .some_custom_read_only_section
CoffGroup      : [0x000c:0x00000000]  0x00025000, len = 00000104,
characteristics = C0000040, .tls

PDBs produced by lld contain the * Linker * compiland but don't store any COFF
groups.

Is this something that could be added to lld?
This is *very* useful information for finding e.g. dynamic initializers,
symbols in thread-local storage, as well as symbols in certain user-defined
sections where you don't know the symbols' names beforehand, but need to be
able to enumerate them.</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>