VirtualBox

Changeset 91803 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 18, 2021 7:36:51 AM (3 years ago)
Author:
vboxsync
Message:

SUPDrv: Mangling fix. bugref:10124

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp

    r91801 r91803  
    206206 *       with function pointer arguments (probably noexcept related).
    207207 * @{ */
    208 #define SUPEXP_CUSTOM(a_cArgs, a_Name, a_Value) { #a_Name,      a_cArgs,                            (void *)(uintptr_t)(a_Value) }
    209 #define SUPEXP_STK_OKAY(a_cArgs, a_Name)        { #a_Name,      SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
     208#define SUPEXP_CUSTOM(a_cArgs, a_Name, a_Value) { #a_Name,       a_cArgs,                            (void *)(uintptr_t)(a_Value) }
     209#define SUPEXP_STK_OKAY(a_cArgs, a_Name)        { #a_Name,       SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
    210210#ifdef RT_OS_DARWIN
    211 # define SUPEXP_STK_BACK(a_cArgs, a_Name) { "StkBack_" #a_Name, SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
     211# define SUPEXP_STK_BACK(a_cArgs, a_Name)  { "StkBack_" #a_Name, SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
     212# define SUPEXP_STK_BACKF(a_cArgs, a_Name) { "StkBack_" #a_Name, SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
    212213#else
    213 # define SUPEXP_STK_BACK(a_cArgs, a_Name)       { #a_Name,      SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
     214# define SUPEXP_STK_BACK(a_cArgs, a_Name)       { #a_Name,       SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
    214215# ifdef _MSC_VER
    215 #  define SUPEXP_STK_BACKF(a_cArgs, a_Name)     { #a_Name,      a_cArgs,                            (void *)(uintptr_t)a_Name }
     216#  define SUPEXP_STK_BACKF(a_cArgs, a_Name)     { #a_Name,       a_cArgs,                            (void *)(uintptr_t)a_Name }
     217# else
     218#  define SUPEXP_STK_BACK(a_cArgs, a_Name)      { #a_Name,       SUPEXP_CHECK_ARGS(a_cArgs, a_Name), (void *)(uintptr_t)a_Name }
    216219# endif
    217 #endif
    218 #ifndef SUPEXP_STK_BACKF
    219 # define SUPEXP_STK_BACKF(a_cArgs, a_Name)      SUPEXP_STK_BACK(a_cArgs, a_Name)
    220220#endif
    221221/** @} */
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