| 289 | static std::string oops_msg; |
| 290 | |
| 291 | static bool SkipSymbol(char *symbol) { |
| 292 | static const char *blacklist[] = {"(_ZN6google10LogMessage", |
| 293 | "(_ZN6google15LogMessageFatal"}; |
| 294 | |
| 295 | for (auto prefix : blacklist) { |
| 296 | if (strstr(symbol, prefix)) { |
| 297 | return true; |
| 298 | } |
| 299 | } |
| 300 | |
| 301 | return false; |
| 302 | } |
| 303 | |
| 304 | [[gnu::noinline]] std::string DumpStack() { |
| 305 | const size_t max_stack_depth = 64; |