[Feature Request] A means to configure stack unwinding under Intel-syntax assembler
Original Reporter info from Mantis: CuriousKit @CuriousKit
-
Reporter name: J. Gareth Moreton
Original Reporter info from Mantis: CuriousKit @CuriousKit
- Reporter name: J. Gareth Moreton
Description:
For assembler routines that may make an appearance in third-party libraries, it is useful to setup the stack unwinding rules so exceptions are handled gracefully under Windows (so the right registers are restored and the program flow returns to the correct location, among other things). However, this is currently only possible, or at least only documented, under AT&T mode syntax.
I request features such as ".seh_endprologue" and ".seh_pushreg" etc, with appropriate semantic modifications to fit the Intel syntax, to be included when {$ASMMODE Intel} is selected so assembly programmers of the Intel syntax are not crippled.
Steps to reproduce:
N/A
Additional information:
Choosing between Intel and AT&T should really only be a matter of personal preference rather than based on the features available. A lot of documentation (e.g.
Mantis conversion info:
- Mantis ID: 32792
- OS: Windows 7 (64-bit)
- OS Build: Enterprise
- Build: x86_64-win64-win32/win64
- Platform: Win64
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 38331 (#3b779278)
- Monitored by: » @CuriousKit (J. Gareth Moreton)