core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas_x86/p_avoid_ebp.htm
changeset 1641 2b3996fc09a1
parent 0 fb279309251b
equal deleted inserted replaced
1640:4891d49809bb 1641:2b3996fc09a1
    15   Intel x86<br />
    15   Intel x86<br />
    16   <h5>Remarks</h5>
    16   <h5>Remarks</h5>
    17   <p>Disabling the use of the EBP register with <span class="code">#pragma avoid_ebp</span> on ensures that the stack chains are coherent, even if they do not include every called function, so code that relies on the stack chain (i.e. crash recovery tools and structured exception handling) will work more consistently. Note that this can have an effect on performance (only 6 internal registers are available instead of 7) so do not use it in speed-critical code.</p>
    17   <p>Disabling the use of the EBP register with <span class="code">#pragma avoid_ebp</span> on ensures that the stack chains are coherent, even if they do not include every called function, so code that relies on the stack chain (i.e. crash recovery tools and structured exception handling) will work more consistently. Note that this can have an effect on performance (only 6 internal registers are available instead of 7) so do not use it in speed-critical code.</p>
    18   <p>This #pragma is recommended for programs using <span class="code">_set_se_translator()</span> under the zero-overhead exceptions model. The SEH handler chain and the zero-overhead exception stack are independent of each other, unlike the MS exceptions model where both share the same chain, so the zero-overhead exceptions model needs more help reconciling the fact that exceptions can be thrown from anywhere in the program. <br />
    18   <p>This #pragma is recommended for programs using <span class="code">_set_se_translator()</span> under the zero-overhead exceptions model. The SEH handler chain and the zero-overhead exception stack are independent of each other, unlike the MS exceptions model where both share the same chain, so the zero-overhead exceptions model needs more help reconciling the fact that exceptions can be thrown from anywhere in the program. <br />
    19 </p>
    19 </p>
    20   <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    20   <div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    21 
    21 
    22 
    22 
    23 </body>
    23 </body>
    24 </html>
    24 </html>