VirtualBox

Ignore:
Timestamp:
Sep 26, 2023 12:14:34 AM (16 months ago)
Author:
vboxsync
Message:

VMM/IEM: Corrected FNIEMNATIVETB so it clearly indicates that exceptions may be thrown (or longjmps made) from the translation block. Accidentally used the wrong macro and clang-1200.0.32.27 optimized the exception catching away in release builds on arm64. [build fix] bugref:10370

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r101261 r101262  
    781781/** Native IEM TB 'function' typedef.
    782782 * This will throw/longjmp on occation.  */
     783#if RT_CPLUSPLUS_PREREQ(201700)
    783784typedef int FNIEMTBNATIVE(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP;
     785#else
     786typedef int FNIEMTBNATIVE(PVMCPUCC pVCpu);
     787#endif
    784788/** Pointer to a native IEM TB entry point function.
    785789 * This will throw/longjmp on occation.  */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette