fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
290 B
14 lines
290 B
12 years ago
|
#ifndef STACK_TRACE_H
|
||
|
#define STACK_TRACE_H
|
||
|
|
||
|
namespace leveldb {
|
||
|
|
||
|
// Install a signal handler to print callstack on the following signals:
|
||
|
// SIGILL SIGSEGV SIGBUS SIGABRT
|
||
|
// Currently supports linux only. No-op otherwise.
|
||
|
void InstallStackTraceHandler();
|
||
|
|
||
|
} // namespace leveldb
|
||
|
|
||
|
#endif
|