Commit da8b054
authored
It's almost impossible to have a release build that properly prints out stack traces at runtime with frame names and such. This adds the relative address of the frame to the stack trace log so that it can be looked up after the fact, and also adds a new crash log that prints a stack trace to a special file in the event of a crash.
* No more need to explicitly enable fatal exception handling
It is on by default, and the API that used to turn it on was removed
* Fix tests to account for the presence of one more file in the logging folder
* As a side effect of updating Fleece this also fixes CBL-8363
1 parent ed06469 commit da8b054
4 files changed
Lines changed: 30 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
| 332 | + | |
340 | 333 | | |
341 | 334 | | |
342 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
164 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
290 | 295 | | |
291 | 296 | | |
292 | 297 | | |
293 | | - | |
| 298 | + | |
294 | 299 | | |
295 | | - | |
| 300 | + | |
296 | 301 | | |
297 | 302 | | |
298 | 303 | | |
| |||
519 | 524 | | |
520 | 525 | | |
521 | 526 | | |
522 | | - | |
| 527 | + | |
523 | 528 | | |
524 | 529 | | |
525 | 530 | | |
| |||
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
- Fleece.xcodeproj/project.pbxproj+12
- Fleece/Core/Array.hh+1-1
- Fleece/Core/Dict.hh+1-1
- Fleece/Core/Value.cc+2-2
- Fleece/Core/Value.hh+9-2
- Fleece/Support/Backtrace+capture-darwin.cc+56
- Fleece/Support/Backtrace+capture-linux.cc+151
- Fleece/Support/Backtrace+capture-posix.cc+208
- Fleece/Support/Backtrace+capture-win32.cc+148
- Fleece/Support/Backtrace+signals-posix.cc+161
- Fleece/Support/Backtrace+signals-win32.cc+120
- Fleece/Support/Backtrace.cc+36-388
- Fleece/Support/Backtrace.hh+55-38
- Fleece/Support/NumConversion.hh+2-2
- Tests/EncoderTests.cc+24
- Tests/SupportTests.cc+64-5
- cmake/platform_apple.cmake+8-3
- cmake/platform_linux.cmake+60-2
- cmake/platform_win.cmake+13-1
0 commit comments