[all-commits] [llvm/llvm-project] 6c393e: [lld][WebAssembly] Fix for weak references to data...

Sam Clegg via All-commits all-commits at lists.llvm.org
Wed Oct 16 20:19:53 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c393e9d74d27a9e9d0d9c60537d7b2d4203ae13
      https://github.com/llvm/llvm-project/commit/6c393e9d74d27a9e9d0d9c60537d7b2d4203ae13
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M lld/test/wasm/archive-weak-undefined.ll
    M lld/wasm/InputFiles.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix for weak references to data symbols in archives

Fix a bug where were not handling relocations against weakly undefined
data symbol.  Add a test for this case.  Also ensure that the weak
references to data symbols are not pulled in from archive files by
default (but are if `-u <name>` is added to the command line).

Fixes: PR43696

Differential Revision: https://reviews.llvm.org/D69073

llvm-svn: 375077




More information about the All-commits mailing list