[lld] [llvm] [Object][Wasm] Generate symbol info from name section names (PR #81063)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 16:56:25 PST 2024


================
@@ -0,0 +1,87 @@
+# RUN: yaml2obj %s -o %t.wasm
+# RUN: llvm-objdump -t %t.wasm | FileCheck %s
----------------
dschuff wrote:

Maybe? Either objdump or nm is sufficient to cover this code, since they both just dump info from the Object, and (hopefully) we have other tests for nm-specific things. I was thinking about updating nm to show symbol sizes for functions (currently we just do it for data symbols) so we could use a name section to test that and get some overlapping coverage.

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


More information about the llvm-commits mailing list