<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 - MSAN complains about uninitialized value in __cxxabiv1::__getExceptionClass"
   href="https://bugs.llvm.org/show_bug.cgi?id=44586">44586</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MSAN complains about uninitialized value in __cxxabiv1::__getExceptionClass
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++abi
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>All Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>kyle.edwards@kitware.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23027" name="attach_23027" title="Log produced by MSAN">attachment 23027</a> <a href="attachment.cgi?id=23027&action=edit" title="Log produced by MSAN">[details]</a></span>
Log produced by MSAN

I'm attempting to memory-sanitize my program, and have run into an
uninitialized memory error that's being triggered when an exception is thrown
(in __cxxabiv1::__getExceptionClass), but only when libc++abi is compiled with
-DCMAKE_BUILD_TYPE=Release. When libc++abi is compiled with
-DCMAKE_BUILD_TYPE=Debug, this error does not manifest. I've tried using
__msan_print_shadow() inside __getExceptionClass() and it doesn't report
anything odd.

I've attached an MSAN log with stack traces, but I have not been able to come
up with a minimal working example yet (I will post it here if I do.)</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>