[all-commits] [llvm/llvm-project] cf2315: Merging r368310:

Sam Clegg via All-commits all-commits at lists.llvm.org
Thu Nov 7 16:07:07 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: cf2315964c4947fb372e3c5f9200094df2e28ffb
      https://github.com/llvm/llvm-project/commit/cf2315964c4947fb372e3c5f9200094df2e28ffb
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M lld/test/wasm/global-base.test
    A lld/test/wasm/optional-symbol.ll
    M lld/test/wasm/stack-first.test
    M lld/wasm/Driver.cpp
    M lld/wasm/SymbolTable.cpp
    M lld/wasm/SymbolTable.h

  Log Message:
  -----------
  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: https://reviews.llvm.org/D65920
------------------------------------------------------------------------




More information about the All-commits mailing list