VirtualBox

Changeset 86257 in vbox


Ignore:
Timestamp:
Sep 24, 2020 10:01:42 AM (4 years ago)
Author:
vboxsync
Message:

xpcom/xptcall: Implemented XPTC_InvokeByIndex in assembly (YASM) as the original mozilla code is making too many assumptions about how the compiler will compile the code. This already broke with gcc 8.2 and asan (bugref:8019) and now Clang breaks it (bugref:9790) when stack is needed for passing parameters. Code has received minimal testing, the floating point stuff isn't tested as we don't use that (I hope). bugref:9790

Location:
trunk/src/libs/xpcom18a4
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Config.kmk

    r74279 r86257  
    154154# When using IPRT in NSRP or/and using IPRT for logging, link with IPRT.
    155155TEMPLATE_XPCOM_LIBS               += $(LIB_RUNTIME)
     156
     157
     158#
     159# Same as XPCOM except using YASM/NASM instead of the gnu/unix assembler.
     160#
     161TEMPLATE_XPCOMYASM = XPCOM w/ yasm
     162TEMPLATE_XPCOMYASM_EXTENDS = XPCOM
     163TEMPLATE_XPCOMYASM_ASTOOL        = $(TEMPLATE_VBOXR3NP_ASTOOL)
     164TEMPLATE_XPCOMYASM_ASFLAGS       = $(TEMPLATE_VBOXR3NP_ASFLAGS)
     165TEMPLATE_XPCOMYASM_ASFLAGS.x86   = $(TEMPLATE_VBOXR3NP_ASFLAGS.x86)
     166TEMPLATE_XPCOMYASM_ASFLAGS.amd64 = $(TEMPLATE_VBOXR3NP_ASFLAGS.amd64)
     167TEMPLATE_XPCOMYASM_ASDEFS        = $(TEMPLATE_VBOXR3NP_DEFS)
     168
    156169
    157170#
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