<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - crash handler does not find pdb when built with /PDBALTPATH:%_PDB%"
   href="https://llvm.org/bugs/show_bug.cgi?id=31371">31371</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>crash handler does not find pdb when built with /PDBALTPATH:%_PDB%
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Support Libraries
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>trass3r@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When clang is built with /PDBALTPATH:%_PDB% a relative pdb path is inserted
into the executable (i.e. just "clang.pdb").

Then it only prints:

Assertion failed: ....
Wrote crash dump file "xxxx.dmp"
#0 0x0000000140b30d95 (clang.exe+0xb90d95)
#1 0x00000001421d547e (clang.exe+0x223547e)
...

No stacktrace like without the option:

0x0000000140148A75 (0x0000000142573720 0x0000000000B2BAF4 0x0000000000B2B898
0x00000001417F2C7B), HandleAbort() + 0x5 bytes(s),
lib\support\windows\signals.inc, line 404
0x00000001417F301E (0x0000000000B2BD01 0x0000000100000000 0x0000000100000000
0x0000000000000000), raise() + 0x25E bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp, line 516 + 0x5 byte(s)
0x00000001417E038C (0x0000000000070000 0x0000000000B2BF01 0x00000001422DECD0
0x00000001422B3730), abort() + 0x18 bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp, line 71
0x00000001417DFDF4 (0xFFFFFFFFFFFFFFFF 0xFFFFFFFFFFFFFFFF 0xFFFFFFFFFFFFFFFF
0x0000000076F20996), common_assert_to_stderr<wchar_t>() + 0xC8 bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\startup\assert.cpp, line 138 + 0x84
byte(s)
0x00000001417DFF16 (0x000000000015C4E8 0x0000000000B2BF30 0x0000000000151470
0x0000000000000000), _wassert() + 0x72 bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\startup\assert.cpp, line 404 + 0x13
byte(s)

......</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>