First
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user