[all-commits] [llvm/llvm-project] a57f1a: [lld][WebAssembly] Handle mixed strong and weak un...

Sam Clegg via All-commits all-commits at lists.llvm.org
Fri Feb 28 10:16:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a57f1a543570fbccfa44c38909bc66b66e9f1c2f
      https://github.com/llvm/llvm-project/commit/a57f1a543570fbccfa44c38909bc66b66e9f1c2f
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2020-02-28 (Fri, 28 Feb 2020)

  Changed paths:
    A lld/test/wasm/Inputs/weak-undefined.s
    A lld/test/wasm/weak-and-strong-undef.s
    M lld/wasm/SymbolTable.cpp
    M lld/wasm/Symbols.h
    M lld/wasm/SyntheticSections.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Handle mixed strong and weak undefined symbols

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

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




More information about the All-commits mailing list