|
@@ -50,8 +50,10 @@ static void fatalSignalHandler(int sig) { |
|
|
|
|
|
|
|
|
#if defined ARCH_LIN |
|
|
#if defined ARCH_LIN |
|
|
const char* sigNameC = strsignal(sig); |
|
|
const char* sigNameC = strsignal(sig); |
|
|
#else |
|
|
|
|
|
|
|
|
#elif defined ARCH_MAC |
|
|
const char* sigNameC = sys_siglist[sig]; |
|
|
const char* sigNameC = sys_siglist[sig]; |
|
|
|
|
|
#else |
|
|
|
|
|
const char* sigNameC = ""; |
|
|
#endif |
|
|
#endif |
|
|
std::string sigName = "SIG" + string::uppercase(sigNameC); |
|
|
std::string sigName = "SIG" + string::uppercase(sigNameC); |
|
|
std::string stackTrace = system::getStackTrace(); |
|
|
std::string stackTrace = system::getStackTrace(); |
|
|