[llvm] [WebAssembly] Add symbol information for shared libraries (PR #75238)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 18:11:07 PST 2023


dschuff wrote:

ah yeah, isRelocatableObject might be good enough for that.
Maybe the "ideal" behavior for an nm-like use case would be to construct a symbol table that synthesizes information from both the export section if possible (these would show external symbol types like "T" and others you have here) and the name section if possible (for internal symbols like "t")... presumably the export names should override the name section names? I guess that would work OK for the linker since it's only concerned with exported and imported symbols?

https://github.com/llvm/llvm-project/pull/75238


More information about the llvm-commits mailing list