[PATCH] D70628: [Support] Enable file + line info in LLVM stack traces on Darwin.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 17:08:40 PST 2019


lhames created this revision.
lhames added reviewers: beanz, hintonda, davide, dexonsmith.
Herald added subscribers: ributzka, hiraditya.
Herald added a reviewer: jfb.
Herald added a project: LLVM.

This patch provides an implementation of findModulesAndOffsets for Darwin.
This function maps stack frames to (image name, vm-address) pairs which the
generic function printSymbolizedStackTrace (in Signals.cpp) can feed to
llvm-symbolize. Where a dSYM is present, llvm-symbolize will use this to find
source file and line info and add it to the trace.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70628

Files:
  llvm/lib/Support/Unix/Signals.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70628.230742.patch
Type: text/x-patch
Size: 3273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191123/b91127ca/attachment-0001.bin>


More information about the llvm-commits mailing list