diff options
author | Doug Moore <dougm@rice.edu> | 2017-05-20 14:36:25 -0500 |
---|---|---|
committer | Doug Moore <dougm@rice.edu> | 2017-05-20 14:36:25 -0500 |
commit | 27f5f9fa0b41f0598428bd686a3f8a5d52998b5d (patch) | |
tree | 306efc7efd796e1fd1ba9f3d936ed8b228b44103 /tests | |
parent | c66661f73cb66513e9c08897ab38e89c4ca96407 (diff) | |
download | libunwind-27f5f9fa0b41f0598428bd686a3f8a5d52998b5d.tar.gz |
Leave ret_addr_column out of the data that gets copied when pushing/popping
data on/off the register state stack.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Ltest-init-local-signal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Ltest-init-local-signal.c b/tests/Ltest-init-local-signal.c index c77ad1ed..b834d44d 100644 --- a/tests/Ltest-init-local-signal.c +++ b/tests/Ltest-init-local-signal.c @@ -35,6 +35,7 @@ void handler(int num, siginfo_t* info, void* ucontext) { int ucontext_steps = stepper(&c); ret = unw_init_local(&c, &context); + (void)ret; assert(!ret); int getcontext_steps = stepper(&c); if (ucontext_steps == getcontext_steps - 2) { @@ -54,4 +55,5 @@ int main(){ sigaction(SIGSEGV, &a, NULL); foo(NULL); + return 0; } |