llvm-project/lld/test/wasm/lto
Sam Clegg 8b0b48f343 [WebAssembly] Preserve function signatures during LTO
With LTO when and undefined function (with a known signature)
in replaced by a defined bitcode function we were loosing the
signature information (since bitcode functions don't have
signatures).

With this change we preserve the original signature from the
undefined function and verify that the post LTO compiled
function has the correct signature.

This change improves the error handling in the case where
there is a signature mismatch with a function defined in
a bitcode file.

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

llvm-svn: 343340
2018-09-28 16:50:14 +00:00
..
Inputs [WebAssemlby] Set IsUsedInRegularObj correctly for undefined data symbols 2018-07-17 19:15:02 +00:00
archive.ll [WebAssembly] Add --[no]-export-dynamic to replace --export-default 2018-09-27 21:06:25 +00:00
atomics.ll [WebAssembly] Set threadmodel during LTO 2018-07-02 16:27:50 +00:00
cache.ll [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:49 +00:00
diagnostics.ll [LTO] Errors in LLVM backend should manifest as lld errors 2018-07-02 21:01:43 +00:00
export.ll [WebAssembly] Don't error when --undefined symbols are not found 2018-08-04 00:04:06 +00:00
incompatible.ll
internalize-basic.ll
lto-start.ll
opt-level.ll
parallel.ll
save-temps.ll
signature-mismatch.ll [WebAssembly] Preserve function signatures during LTO 2018-09-28 16:50:14 +00:00
thinlto.ll
undef.ll
used.ll [WebAssemlby] Set IsUsedInRegularObj correctly for undefined data symbols 2018-07-17 19:15:02 +00:00
verify-invalid.ll
weak.ll