[PATCH] D75322: [lld][WebAssembly] Handle mixed strong and weak undefined symbols
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 17:41:26 PST 2020
sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.
Herald added a project: LLVM.
sbc100 added reviewers: ruiu, dschuff.
When there are both strong and weak references to an undefined
symbol ensure that the strong reference prevails in the output symbol
generating the correct error.
Test case copied from lld/test/ELF/weak-and-strong-undef.s
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75322
Files:
lld/test/wasm/Inputs/weak-undefined.s
lld/test/wasm/weak-and-strong-undef.s
lld/wasm/SymbolTable.cpp
lld/wasm/Symbols.h
lld/wasm/SyntheticSections.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75322.247146.patch
Type: text/x-patch
Size: 4813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/7eea0b8f/attachment.bin>
More information about the llvm-commits
mailing list