mirror of
https://github.com/wassname/ray.git
synced 2026-07-18 12:40:56 +08:00
Allow fatal errors to produce core dumps. (#79)
This commit is contained in:
committed by
Philipp Moritz
parent
dadbcae17d
commit
de2dd1f506
+1
-1
@@ -63,7 +63,7 @@
|
||||
void *buffer[255]; \
|
||||
const int calls = backtrace(buffer, sizeof(buffer) / sizeof(void *)); \
|
||||
backtrace_symbols_fd(buffer, calls, 1); \
|
||||
exit(-1); \
|
||||
abort(); \
|
||||
} while (0)
|
||||
#else
|
||||
#define LOG_FATAL(M, ...) \
|
||||
|
||||
Reference in New Issue
Block a user