Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cocoa: Improve backtrace logging for <redacted> symbols
https://bugs.webkit.org/show_bug.cgi?id=258821 rdar://111700962 Reviewed by Wenson Hsieh. * Source/WTF/wtf/PlatformHave.h: * Source/WTF/wtf/StackTrace.h: (WTF::StackTraceSymbolResolver::forEach const): Enable backtrace_symbols on Cocoa, since we have it. If a symbol comes back from dladdr as <redacted>, fall back to the backtrace_symbols string, which includes: - the symbol's image's name - the image's DWARF UUID - the symbol's address ...the combination of which can be used to make either better guesses about the stack, or to actually symbolicate offline. The strcmp check matches what `backtrace_symbols` itself does. Canonical link: https://commits.webkit.org/266662@main
- Loading branch information