This commit is contained in:
jeanlemotan
2024-07-02 18:06:33 +02:00
commit 8297b0b45f
157 changed files with 24865 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#pragma once
#include "tl/detail/prologue.h"
#include "tl/detail/internal_crash.h"
#define TL_PLAIN_CRASH(msg) \
do \
{ \
tl::crash::response response = tl::crash::detail::invoke_crash_handler(__FILE__, __LINE__, msg); \
if (response == tl::crash::response::CRASH) \
*reinterpret_cast<volatile unsigned int*>(0) = 0xDEAD; \
} while(false)