[llvm] [llvm-symbolizer] restore --[no-]use-symbol-table option (PR #71008)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 17:39:50 PDT 2023
quic-likaid wrote:
> > The option was unintentionally removed by 593e196, and remained as a no-op since 3d54976.
>
> Got links to these commits? I can't find them at first glance, at least...
unintentional removal: https://reviews.llvm.org/D83530#inline-790089
no-op: restore: https://reviews.llvm.org/D87067
> So the issue is that if we use the ELF symbol table we can't differentiate functions from variables, but if we use the DWARF we can, and so we don't mistakenly symbolize unrelocated addresses as referring to variables?
Yes. It's the case we observed with Dynamically Loadable Kernel Modules.
https://github.com/llvm/llvm-project/pull/71008
More information about the llvm-commits
mailing list