blob: a1f2baee12b4beea91832aea744ba062fb4b9f1e [file] [log] [blame]
Logan Chien46004182015-06-25 15:12:46 +00001#include <assert.h>
2#include <libunwind.h>
3
Louis Dionnecbfe0172020-10-08 13:36:33 -04004int main(int, char**) {
Logan Chien46004182015-06-25 15:12:46 +00005 unw_context_t context;
6 int ret = unw_getcontext(&context);
7 assert(ret == UNW_ESUCCESS);
Louis Dionnecbfe0172020-10-08 13:36:33 -04008 return 0;
Logan Chien46004182015-06-25 15:12:46 +00009}