[all-commits] [llvm/llvm-project] d65ed8: [lld][WebAssembly] Fix handling of mixed strong an...

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon Feb 27 14:22:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d65ed8cde0a2b595a36f031d65158b08e6421b4f
      https://github.com/llvm/llvm-project/commit/d65ed8cde0a2b595a36f031d65158b08e6421b4f
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    A lld/test/wasm/Inputs/strong-refs.s
    M lld/test/wasm/weak-undefined.s
    M lld/wasm/SymbolTable.cpp
    M llvm/lib/Object/WasmObjectFile.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix handling of mixed strong and weak references

When adding a undefined symbols to the symbol table, if the existing
reference is weak replace the symbol flags with (potentially) non-weak
binding.

Fixes: https://github.com/llvm/llvm-project/issues/60829

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




More information about the All-commits mailing list