[all-commits] [llvm/llvm-project] 4fc255: [WebAssembly][lld] Preassign table number 0 to ind...
Andy Wingo via All-commits
all-commits at lists.llvm.org
Fri Feb 12 11:21:34 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fc25573089c53804a035080739867ee3b346fdd
https://github.com/llvm/llvm-project/commit/4fc25573089c53804a035080739867ee3b346fdd
Author: Andy Wingo <wingo at igalia.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
A lld/test/wasm/invalid-mvp-table-use.s
M lld/test/wasm/shared.ll
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/InputFiles.cpp
M lld/wasm/InputFiles.h
M lld/wasm/Symbols.cpp
M lld/wasm/SyntheticSections.cpp
M lld/wasm/SyntheticSections.h
M lld/wasm/Writer.cpp
Log Message:
-----------
[WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs
MVP object files may import at most one table, and if they do, it must
be assigned table number zero in the output, as the references to that
table are not relocatable. Ensure that this is the case, even if some
inputs define other tables.
Differential Revision: https://reviews.llvm.org/D96001
More information about the All-commits
mailing list