mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
ASAN
This commit is contained in:
1 parent
40bc310d9d
commit
0230d5d464
1 file changed
+4
@@ -83,7 +83,11 @@ void InstallExceptionHandler(BadAccessHandler badAccessHandler) {
|
||||
|
||||
INFO_LOG(Log::System, "Installing exception handler");
|
||||
g_badAccessHandler = badAccessHandler;
|
||||
#ifdef USE_ASAN
|
||||
g_vectoredExceptionHandle = AddVectoredExceptionHandler(FALSE, GlobalExceptionHandler);
|
||||
#else
|
||||
g_vectoredExceptionHandle = AddVectoredExceptionHandler(TRUE, GlobalExceptionHandler);
|
||||
#endif
|
||||
}
|
||||
|
||||
void UninstallExceptionHandler() {
|
||||
|
||||
Reference in new issue
Block a user