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
Paths 
  |  Differential  D75322  
[lld][WebAssembly] Handle mixed strong and weak undefined symbols ClosedPublic Authored by sbc100 on Feb 27 2020, 5:35 PM. 
Details Summary When there are both strong and weak references to an undefined Test case copied from lld/test/ELF/weak-and-strong-undef.s 
Diff Detail 
 
Unit TestsFailed 
 Event Timelinedschuff added inline comments. This revision is now accepted and ready to land.Feb 28 2020, 9:04 AM Closed by commit rGa57f1a543570: [lld][WebAssembly] Handle mixed strong and weak undefined symbols (authored by sbc100).  ·  Explain WhyFeb 28 2020, 10:23 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 247146 lld/test/wasm/weak-and-strong-undef.s
 lld/wasm/SymbolTable.cpp
 lld/wasm/Symbols.h
 lld/wasm/SyntheticSections.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
string->strong