mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-01-22 17:52:16 +00:00
10 lines
110 B
C++
10 lines
110 B
C++
|
|
#include <dlfcn.h>
|
|
#include <execinfo.h>
|
|
|
|
int main() {
|
|
void* buffer[10];
|
|
::backtrace(buffer, 10);
|
|
|
|
}
|