1 #include <assert.h> 2 #include <libunwind.h> 3 main(int,char **)4 int main(int, char**) { 5 unw_context_t context; 6 int ret = unw_getcontext(&context); 7 assert(ret == UNW_ESUCCESS); 8 return 0; 9 } 10