<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 - llvm-pdbutil dump -fpo should work for object files"
   href="https://bugs.llvm.org/show_bug.cgi?id=39543">39543</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-pdbutil dump -fpo should work for object files
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>DebugInfo
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>rnk@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>llvm-readobj knows how to do this, and llvm-pdbutil does as well, but it only
works on PDBs. Everyone seems to agree the pdbutil output is prettier, so it'd
be nice if we could use this tool for objects as well as PDBs. This is the
current output from llvm-readobj:

    FrameData {
      RvaStart: 0x9
      CodeSize: 0x16B
      LocalSize: 0x0
      ParamsSize: 0x0
      MaxStackSize: 0x0
      PrologSize: 0x3
      SavedRegsSize: 0x10
      Flags [ (0x0)
      ]
      FrameFunc [
        $T1 $ebp 4 + =
        $T0 $T1 16 - 8 @ =
        $eip $T1 ^ =
        $esp $T1 4 + =
        $ebp $T1 4 - ^ =
        $ebx $T1 8 - ^ =
        $edi $T1 12 - ^ =
        $esi $T1 16 - ^ =
      ]
    }

This isn't urgent, I just wanted to write it down before forgetting about it.</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>