[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
Wed Feb 8 15:07:20 PST 2023


luismarques added a comment.

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

> Ah, so how does a debugger find debug info without these sort of hints? Could that logic be reused in llvm-symbolizer? (are there other symbolizers (addr2line, etc) that work on MacOS? How do they find the debug info?)

I provided this more expedient patch exactly because I suspected that finding out the answers to those questions and implementing the missing logic was going to be non-trivial. For me, this was initially just a weekend patch to make stack traces work properly on macOS, as contributing to LLVM's Darwin support is a bit outside of my current professional scope. Still, if no one else steps up in the meantime I expect I'll eventually get around to doing that investigation and proper implementation, but it might take a while. I'll reference any follow-up patches or investigation results here.


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