[PATCH] D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 14 13:00:51 PST 2023
aprantl added inline comments.
================
Comment at: llvm/lib/Support/Signals.cpp:227
+ Args.push_back("--dsym-hint");
+ Args.push_back(DSymHintArgs.back());
+ }
----------------
The correct way of locating dSYMs on macOS is to run `mdfind` with the UUID of binary (e.g., https://github.com/llvm/llvm-project/blob/b40bfc1b9e389c154f6c60550dfc010ff8b3658f/lldb/examples/python/crashlog.py#L303). The UUID can be extracted with `dwarfdump --uuid` for example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142283/new/
https://reviews.llvm.org/D142283
More information about the llvm-commits
mailing list