[all-commits] [llvm/llvm-project] 48219d: [lld][WebAssembly] Fix resolveIndirectFunctionTabl...
Andy Wingo via All-commits
all-commits at lists.llvm.org
Thu Feb 18 00:37:14 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48219d06b1de6023a6b9dc8c137fdbc0d7089514
https://github.com/llvm/llvm-project/commit/48219d06b1de6023a6b9dc8c137fdbc0d7089514
Author: Andy Wingo <wingo at igalia.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M lld/test/wasm/locals-duplicate.test
A lld/test/wasm/relocatable-options.test
M lld/test/wasm/relocatable.ll
M lld/test/wasm/weak-alias.ll
M lld/wasm/Driver.cpp
Log Message:
-----------
[lld][WebAssembly] Fix resolveIndirectFunctionTable for relocatable output
For relocatable output that needs the indirect function table, identify
the well-known function table. This allows us to properly fix the
limits on the imported table, and in a followup will allow the element
section to reference the indirect function table even if it's not
assigned to table number 0. Adapt tests for import reordering.
Differential Revision: https://reviews.llvm.org/D96770
More information about the All-commits
mailing list