Commit d8619ba
assert: Fix stack tracing during asserts.
This was accidentally disabled with the introduction
of the `__is_defined()` macro as the instruction from
`environ.sh` was merely to define `FRAME_POINTERS` rather
than set it to 1, which is required for `__is_defined()`.
As we no longer use the define, remove that restriction entirely.
Additionally avoid skipping any frames. Despite the `__noinline`
attribute, this can still lead to dropping frames during a trace
and the worst case downside is that the traces get a few internal
calls.1 parent 4c1d656 commit d8619ba
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
0 commit comments