VirtualBox

Changeset 106727 in vbox for trunk/src/VBox/VMM/Makefile.kmk


Ignore:
Timestamp:
Oct 27, 2024 9:39:17 PM (3 months ago)
Author:
vboxsync
Message:

VMM/IEM: Produce IEMAssemblyOffsets.h on win.arm64 using llvm-pdbutil/pretty and a sed script. [fix] jiraref:VBP-1253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r106725 r106727  
    688688 # Generate member offsets for selected structures for use from ARM64 assembly.
    689689 #
     690 # Note! The windows rule is using the .obj rather than the -obj.pdb file as
     691 #       dependency, as the latter isn't listed as an output file for some reason.
     692 #
    690693 if1of ($(KBUILD_TARGET_ARCH), arm64)
    691694  VBoxVMM_CLEAN += \
     
    696699   $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMAssemblyOffsets.h.ts \
    697700   +| $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMAssemblyOffsets.h: \
    698                 $(VBoxVMM_0_OUTDIR)/VMMAll/IEMAllN8veRecompiler-obj.pdb \
     701                $(VBoxVMM_0_OUTDIR)/VMMAll/IEMAllN8veRecompiler.obj \
    699702                $(PATH_SUB_CURRENT)/pdbutil-to-offsets.sed
    700703        $(QUIET)$(call MSG_GENERATE,VBoxVMM,$@,IEMAllN8veRecompiler-obj.pdb)
     
    704707        $(QUIET)$(REDIRECT) -0 /dev/null -o "[email protected]" -- \
    705708                $(TOOL_VCC143-CLANGXX_PREFIX2)pdbutil$(TOOL_VCC143-CLANGXX_SUFFIX2) \
    706                         pretty --with-name=VMCPU --with-name=IEMCPU "$<"
     709                        pretty --with-name=VMCPU --with-name=IEMCPU "$(VBoxVMM_0_OUTDIR)/VMMAll/IEMAllN8veRecompiler-obj.pdb"
    707710        $(QUIET)$(SED) -n -f "$(filter %.sed,$^)" --output "$@" "[email protected]"
    708711        $(QUIET)$(RM) -f "[email protected]"
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