if (used == 0) {
std::fprintf(stderr, "The backtrace() function failed, which probably means that the memory is exhausted\n.");
std::fprintf(stderr, "Bailing out now since there is nothing I can do without a decent amount of memory\n.");
std::fprintf(stderr, "Please go fix the memleaks\n");
std::exit(1);
}
if (used == 0) {
std::fprintf(stderr, "The backtrace() function failed, which probably means that the memory is exhausted\n.");
std::fprintf(stderr, "Bailing out now since there is nothing I can do without a decent amount of memory\n.");
std::fprintf(stderr, "Please go fix the memleaks\n");
std::exit(1);
}