This commit is contained in:
parent
b68f5e6f8f
commit
5d2ee141d1
@ -7,7 +7,7 @@
|
|||||||
#include <libunwind.h>
|
#include <libunwind.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
[[noreturn]] void print_stacktrace() {
|
void print_stacktrace() {
|
||||||
unw_cursor_t cursor;
|
unw_cursor_t cursor;
|
||||||
unw_context_t context;
|
unw_context_t context;
|
||||||
unw_word_t offset, pc;
|
unw_word_t offset, pc;
|
||||||
@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[[noreturn]] void assert_failed(
|
void assert_failed(
|
||||||
bool condition,
|
bool condition,
|
||||||
std::string_view message,
|
std::string_view message,
|
||||||
std::source_location location = std::source_location::current()
|
std::source_location location = std::source_location::current()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user