[PATCH] D97843: [lld][WebAssembly] -Bsymbolic creates indirect function table if needed

Andy Wingo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 02:16:10 PST 2021


wingo created this revision.
wingo added a reviewer: sbc100.
Herald added subscribers: ecnelises, sunfish, jgravelle-google, dschuff.
wingo requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97843

Files:
  lld/test/wasm/bsymbolic.s
  lld/wasm/Driver.cpp
  lld/wasm/SymbolTable.cpp
  lld/wasm/SymbolTable.h
  lld/wasm/SyntheticSections.cpp
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97843.327722.patch
Type: text/x-patch
Size: 13183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210303/6bc801dd/attachment.bin>


More information about the llvm-commits mailing list