mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-06 01:23:41 +01:00
Fix in Gtest-dyn1 test
This commit is contained in:
parent
54d4d893e1
commit
aaf2bb259a
1 changed files with 3 additions and 1 deletions
|
@ -134,8 +134,10 @@ sighandler (int signal)
|
|||
}
|
||||
while (unw_step (&cursor) > 0);
|
||||
|
||||
if (count != 13)
|
||||
if (count != 12) {
|
||||
// NOTE: this value depends on stack frame depth in libc before main function
|
||||
panic ("FAILURE: expected 13, not %d frames below signal frame\n", count);
|
||||
}
|
||||
|
||||
if (verbose)
|
||||
printf ("SUCCESS\n");
|
||||
|
|
Loading…
Reference in a new issue