Commit 8d9f55f
committed
CBL-8057: Better stack trace logging and crash handling
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.1 parent ed06469 commit 8d9f55f
1 file changed
Lines changed: 1 addition & 1 deletion
- Fleece/Support/Backtrace+capture-darwin.cc+56
- Fleece/Support/Backtrace+capture-linux.cc+143
- Fleece/Support/Backtrace+capture-posix.cc+206
- Fleece/Support/Backtrace+capture-win32.cc+148
- Fleece/Support/Backtrace+signals-posix.cc+182
- Fleece/Support/Backtrace+signals-win32.cc+120
- Fleece/Support/Backtrace.cc+36-388
- Fleece/Support/Backtrace.hh+56-38
- Fleece/Support/NumConversion.hh+2-2
- 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