[all-commits] [llvm/llvm-project] cf5442: [lld][WebAssembly] Do not remove name section with...

Derek Schuff via All-commits all-commits at lists.llvm.org
Mon Jul 26 11:07:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf54424a46ffb505bd1a117a44fc30c01bbff882
      https://github.com/llvm/llvm-project/commit/cf54424a46ffb505bd1a117a44fc30c01bbff882
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M lld/test/wasm/strip-debug.test
    M lld/test/wasm/weak-undefined.s
    M lld/wasm/SyntheticSections.h

  Log Message:
  -----------
  [lld][WebAssembly] Do not remove name section with --strip-debug

Leave the name section in the output when using the --strip-debug
flag. This treats it more like ELF symbol tables, as the name
section has similar uses at runtime (e.g. wasm engines understand
it and it can be used for symbolization at runtime).

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

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




More information about the All-commits mailing list