[all-commits] [llvm/llvm-project] c1a59f: [lld][WebAssemlby] Fix for string merging of -dwar...

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Jun 1 14:34:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1a59fa550818c6d3c229b43918b5045d7df83e6
      https://github.com/llvm/llvm-project/commit/c1a59fa550818c6d3c229b43918b5045d7df83e6
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

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

  Log Message:
  -----------
  [lld][WebAssemlby] Fix for string merging of -dwarf-5 sections

We were mistakenly treating `.debug_str_offsets` as a string mergable
section when it is not (it contains integers not strings).  This is an
indication that we really should find a way to store flags for custom
sections.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=48828
Fixes: https://bugs.chromium.org/p/chromium/issues/detail?id=1172217

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




More information about the All-commits mailing list