mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-02 13:27:02 +00:00
[Backtrace] enable compile flag to trigger on at-exit; 6 frame minimum shows clean atexit when there is not much of a stack
Obtained 6 stack frames. 1 | ./yosys(_Z17yosys_print_tracev+0x2e) [0x55c7a207830a] 2 | ./yosys(_Z12yosys_atexitv+0x9) [0x55c7a2078386] 3 | ./yosys(main+0x1c33) [0x55c7a207a020] 4 | /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7fae3a623510] 5 | /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7fae3a6235c9] 6 | ./yosys(_start+0x25) [0x55c7a2078215]
This commit is contained in:
parent
a52aeb0396
commit
7c4609aa7a
3 changed files with 37 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// At least this is not in MSVC++ 2013.
|
||||
# define __PRETTY_FUNCTION__ __FUNCTION__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue