fix: fix fatal error of ExceptionHelper in x86 environemnt.

- fix a wrong placeholder of printf in ExceptionHelper which cause crash in unhandled exception handler.
- improve format function in ExceptionHelper.
- add a new debugging option and macro in CMake script and code for the convenience of debugging unhandled exception handler.
- add docuementation about previous term.
This commit is contained in:
2024-07-31 20:32:11 +08:00
parent 1cfbcb3b18
commit 0ac6b477f9
6 changed files with 65 additions and 35 deletions

View File

@ -7,6 +7,7 @@ project(YYCC
# Provide options
option(YYCC_BUILD_TESTBENCH "Build testbench of YYCCommonplace." OFF)
option(YYCC_BUILD_DOC "Build document of YYCCommonplace." OFF)
option(YYCC_DEBUG_UE_FILTER "YYCC developer used switch for testing Windows unhandled exception filter. Should not set to ON!!!" OFF)
# Setup install path from CMake provided install path for convenient use.
include(GNUInstallDirs)