[all-commits] [llvm/llvm-project] e638d8: [lld][WebAssembly] -Bsymbolic creates indirect fun...

Andy Wingo via All-commits all-commits at lists.llvm.org
Thu Mar 4 00:30:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e638d8b2bc27d620ea26fcc730f7cba29ab82349
      https://github.com/llvm/llvm-project/commit/e638d8b2bc27d620ea26fcc730f7cba29ab82349
  Author: Andy Wingo <wingo at igalia.com>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M lld/test/wasm/bsymbolic.s
    M lld/wasm/Driver.cpp
    M lld/wasm/SymbolTable.cpp
    M lld/wasm/SymbolTable.h
    M lld/wasm/SyntheticSections.cpp
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld][WebAssembly] -Bsymbolic creates indirect function table if needed

It can be that while processing relocations, we realize that in the end
we need an indirect function table.  Ensure that one is present, in that
case, to avoid writing invalid object files.

Fixes https://bugs.llvm.org/show_bug.cgi?id=49397.

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




More information about the All-commits mailing list