[PATCH] D139859: [llvm-symbolize] Allow finding location of a symbol
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 07:51:04 PST 2022
sepavloff marked an inline comment as done.
sepavloff added a comment.
In D139859#3989536 <https://reviews.llvm.org/D139859#3989536>, @dblaikie wrote:
> Does unix addr2line support this, or is there other precedent we should consider when evaluating this new feature?
Documentation on `addr2line` (https://sourceware.org/binutils/docs/binutils/addr2line.html) says:
addr2line translates addresses or `symbol+offset` into file names and line numbers. Given an address or symbol+offset in an executable or an offset in a section of a relocatable object, it uses the debugging information to figure out which file name and line number are associated with it.
Resolving `symbol+offse`t is available in binutils 2.39. Resolving symbols only also work, at least in some cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139859/new/
https://reviews.llvm.org/D139859
More information about the llvm-commits
mailing list