<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jingham@apple.com" title="Jim Ingham <jingham@apple.com>"> <span class="fn">Jim Ingham</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - SBThread::ReturnFromFrame does not work"
   href="https://llvm.org/bugs/show_bug.cgi?id=25070">bug 25070</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>jingham@apple.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - SBThread::ReturnFromFrame does not work"
   href="https://llvm.org/bugs/show_bug.cgi?id=25070#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - SBThread::ReturnFromFrame does not work"
   href="https://llvm.org/bugs/show_bug.cgi?id=25070">bug 25070</a>
              from <span class="vcard"><a class="email" href="mailto:jingham@apple.com" title="Jim Ingham <jingham@apple.com>"> <span class="fn">Jim Ingham</span></a>
</span></b>
        <pre>ReturnFromFrame doesn't capture the return value from a given frame, rather it
FORCES a return from that frame without executing the rest of the code in the
frame, and optionally artificially sets the return value to the value passed
in.  So provided this actually did force a return from the current stack frame,
then it is behaving as designed.

If you want to capture the return value after executing the code from the
frame, then call SBThread::StepOut, and then check
SBThread::GetStopReturnValue.

I'll add some python autodoc to ReturnFromFrame to make clear what it does.</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>