Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. Merging r368310: (details)
Commit cf2315964c4947fb372e3c5f9200094df2e28ffb by tstellar
Merging r368310:
r368310 | sbc | 2019-08-08 09:58:36 -0700 (Thu, 08 Aug 2019) | 11 lines
[lld][WebAssembly] Add optional symbols after input file handling
This allows undefined references in input files be resolved by the
optional symbols.  Previously we were doing this before input file
reading which means it was working only for command line symbols
references (i.e. -u or --export).
Also use addOptionalDataSymbol for __dso_handle and make all optional
symbols hidden by default.
Differential Revision:
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/test/wasm/global-base.test
The file was modifiedlld/test/wasm/stack-first.test
The file was addedlld/test/wasm/optional-symbol.ll
The file was modifiedlld/wasm/Driver.cpp