<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 - Unable to step into __cxa_allocate_exception"
   href="https://bugs.llvm.org/show_bug.cgi?id=36438">36438</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to step into __cxa_allocate_exception
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.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>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dantipov@nvidia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19902" name="attach_19902" title="Sample program">attachment 19902</a> <a href="attachment.cgi?id=19902&action=edit" title="Sample program">[details]</a></span>
Sample program

$ /home/dantipov/.local/llvm-6.0.0/bin/lldb t-throw
(lldb) target create "t-throw"
Current executable set to 't-throw' (x86_64).
(lldb) b t-throw.cc:10
Breakpoint 1: where = t-throw`main + 18 at t-throw.cc:10, address =
0x00000000004009a9
(lldb) r
Process 22330 launched: '/home/dantipov/tmp/t-throw' (x86_64)
Process 22330 stopped
* thread #1, name = 't-throw', stop reason = breakpoint 1.1
    frame #0: 0x00000000004009a9 t-throw`main(argc=1, argv=0x00007fffffffe2f8)
at t-throw.cc:10
   7        try {
   8          try {
   9            try {
-> 10             throw new T ();
   11           } catch (...) {
   12             throw;
   13           }
(lldb) step
gotcha
Process 22330 exited with status = 1 (0x00000001) 

vs:

$ gdb -q t-throw 
Reading symbols from t-throw...done.
(gdb) b t-throw.cc:10
Breakpoint 1 at 0x4009a9: file t-throw.cc, line 10.
(gdb) r
Starting program: /home/dantipov/tmp/t-throw 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Breakpoint 1, main (argc=1, argv=0x7fffffffe2f8) at t-throw.cc:10
10                throw new T ();
(gdb) s
__cxxabiv1::__cxa_allocate_exception (thrown_size=8) at
../../../../libstdc++-v3/libsupc++/eh_alloc.cc:280
280     {
(gdb) bt
#0  __cxxabiv1::__cxa_allocate_exception (thrown_size=8) at
../../../../libstdc++-v3/libsupc++/eh_alloc.cc:280
#1  0x00000000004009b3 in main (argc=1, argv=0x7fffffffe2f8) at t-throw.cc:10</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>