[all-commits] [llvm/llvm-project] 581857: [Object][Wasm] Generate symbol info from name sect...
Derek Schuff via All-commits
all-commits at lists.llvm.org
Thu Feb 8 13:20:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 581857278961b41bc1676499f92167b97a5e4c58
https://github.com/llvm/llvm-project/commit/581857278961b41bc1676499f92167b97a5e4c58
Author: Derek Schuff <dschuff at chromium.org>
Date: 2024-02-08 (Thu, 08 Feb 2024)
Changed paths:
M llvm/lib/Object/WasmObjectFile.cpp
A llvm/test/Object/wasm-linked-namesec-with-linkingsec.yaml
A llvm/test/Object/wasm-linked-symbol-table.yaml
A llvm/test/tools/llvm-objdump/wasm/linked-symbol-table-namesec.yaml
R llvm/test/tools/llvm-objdump/wasm/linked-symbol-table.yaml
Log Message:
-----------
[Object][Wasm] Generate symbol info from name section names (#81063)
Currently symbol info is generated from a linking section or from export
names. This PR generates symbols in a WasmObjectFile from the name
section as well, which allows tools like objdump and nm to show useful
information for more linked binaries. There are some limitations:
most notably that we don't assume any particular ABI, so we don't get
detailed information about data symbols if the segments are merged
(which is the default).
Covers most of the desired functionality from #76107
More information about the All-commits
mailing list