[quake3-commits] [ioquake/ioq3] bc7842: Allow unwinding of qvmcall64 call-stub for msvc/masm

Ch40zz noreply at github.com
Wed Jun 23 13:02:05 EDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/ioquake/ioq3
  Commit: bc7842e301f39df5cbe1bbb1da29831021fd7a7f
      https://github.com/ioquake/ioq3/commit/bc7842e301f39df5cbe1bbb1da29831021fd7a7f
  Author: Ch40zz <adawolfa at web.de>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M code/asm/vm_x86_64.asm

  Log Message:
  -----------
  Allow unwinding of qvmcall64 call-stub for msvc/masm
qvmcall64 has its own custom calling convention due to pushing all non-volatile registers to the stack. The game uses set/longjmp which on Windows uses "RtlUnwindEx" to unwind the callstack. qvmcall64 cannot be unwound by default due to the custom calling convention. To allow unwinding, we need to add custom SEH unwind data to the function.




More information about the quake3-commits mailing list