commit | 33e181280dcb18002a576a1b036b7ea787d5196e | [log] [tgz] |
---|---|---|
author | Sam Clegg <sbc@chromium.org> | Fri Sep 28 16:50:14 2018 +0000 |
committer | Sam Clegg <sbc@chromium.org> | Fri Sep 28 16:50:14 2018 +0000 |
tree | 1bb066347fe36f528bbffade1d6dff43cacd41a0 | |
parent | b4559296693c8ae022c19e6d1e42a09f21e6d84f [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@343340 91177308-0d34-0410-b5e6-96231b3b80d8
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.