VirtualBox

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


Ignore:
Timestamp:
Feb 12, 2021 4:36:17 PM (4 years ago)
Author:
vboxsync
Message:

SUP/Makefile-wrapper.gmk,iprt/asmdefs.mac: Call objtool on our .r0 object when ORCs are roaming freely accross our Linux kernel. Otherwise we won't get any callstacks. bugref:9937

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile-wrapper.gmk

    r87728 r87739  
    144144                $(VBOX_MODULE_SRC_DIR)$(WRAPPED_MODULE_NAME).mangle-symbols \
    145145                $(VBOX_MODULE_SRC_DIR)Makefile-wrapper.gmk \
    146                 $(VBOX_MODULE_SRC_DIR)Makefile
     146                $(VBOX_MODULE_SRC_DIR)Makefile \
     147               $(if $(CONFIG_UNWINDER_ORC),$(objtool_dep),)
    147148        rm -f -- "$@" "$@-tmp"
    148149        eu-unstrip -o "$@-tmp" $(VBOX_MODULE_SRC_DIR)$(WRAPPED_MODULE_NAME).r0 $(VBOX_MODULE_SRC_DIR)$(WRAPPED_MODULE_NAME).debug
    149150        objcopy --redefine-syms=$(VBOX_MODULE_SRC_DIR)$(WRAPPED_MODULE_NAME).mangle-symbols "$@-tmp" "$@"
    150151        rm -f -- "$@-tmp"
     152ifdef CONFIG_UNWINDER_ORC # Must generate the ORC sections.
     153        $(__objtool_obj) $(objtool_args)  $@
     154endif
    151155        touch $(VBOX_MODULE_SRC_DIR).$(WRAPPED_MODULE_NAME).o.cmd
    152156
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