[PATCH] D43101: [WebAssebmly] Report undefined symbols correctly in objdump

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 16:29:22 PST 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin, jgravelle-google, dschuff, jfb.

Peviously we were reporting undefined symbol as being defined
by the IMPORT sections.

This change reports undefined symbols in the same that other
formats do, and also removes the need to store the section
with each symbol (since it can be derived from the symbol
type).


Repository:
  rL LLVM

https://reviews.llvm.org/D43101

Files:
  include/llvm/Object/Wasm.h
  lib/Object/WasmObjectFile.cpp
  test/MC/WebAssembly/weak-alias.ll
  test/tools/llvm-objdump/WebAssembly/symbol-table.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43101.133534.patch
Type: text/x-patch
Size: 7045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180209/43a19a64/attachment-0001.bin>


More information about the llvm-commits mailing list