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