[all-commits] [llvm/llvm-project] 356b85: [lld][WebAssembly] Fix for string tail merging and...

Sam Clegg via All-commits all-commits at lists.llvm.org
Wed May 19 15:26:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 356b85edd78311ae7376f4b271c48b9f0156aeea
      https://github.com/llvm/llvm-project/commit/356b85edd78311ae7376f4b271c48b9f0156aeea
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-05-19 (Wed, 19 May 2021)

  Changed paths:
    M lld/test/wasm/merge-string-debug.s
    M lld/wasm/OutputSections.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix for string tail merging and -r/--relocatable

Ensure that both SyntheticMergedChunk and all MergeInfoChunks that it
comprises are assigned the correct output section.  Without this we
would crash when outputting relocations in --relocatable mode.

Fixes: https://github.com/emscripten-core/emscripten/issues/14220

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




More information about the All-commits mailing list