[PATCH] D142283: [Support] Make llvm-symbolizer runs for stack traces work on Apple platforms

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 13:06:46 PST 2023


luismarques added a comment.

In D142283#4091407 <https://reviews.llvm.org/D142283#4091407>, @dblaikie wrote:

> Huh, this seems like an unfortunate workaround/thing to have to implement.

Indeed, which is also a further reason why I separated it from D142282 <https://reviews.llvm.org/D142282>. Still, it works, so it's provided as a "better than nothing" and as a way to test/use D142282 <https://reviews.llvm.org/D142282>.

> When run on the command line/directly, is `llvm-symbolizer` unable to find debug info for the binaries? (I guess, alternatively: why is this workaround/hint needed? and is it only needed when doing the crash symbolizing/not symbolizing from the command line? (& if so, why only then?))

The behaviour on the command line is the same. I'll edit the patch summary to make that clearer. What I was trying to communicate in the patch summary was that (with the current llvm-symbolizer behaviour) this was necessary for fully symbolized stack traces, not that it was specific to that scenario.


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