diff options
author | Sam Clegg <sbc@chromium.org> | 2018-05-05 00:18:43 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-05-05 00:18:43 +0000 |
commit | c1953144acfe6d1d58bad73b3b5ee4e1eb868c1c (patch) | |
tree | 31ad822d51a511704288e9696c134ccf6f6a3115 /llvm/lib/IR/Function.cpp | |
parent | b6e64e734d80723c7e7c5b8e77f4b4a2d0a4c9e6 (diff) | |
download | llvm-c1953144acfe6d1d58bad73b3b5ee4e1eb868c1c.zip llvm-c1953144acfe6d1d58bad73b3b5ee4e1eb868c1c.tar.gz llvm-c1953144acfe6d1d58bad73b3b5ee4e1eb868c1c.tar.bz2 |
[WebAssembly] Only perform sanity checking of relocation targets in debug builds
Also:
- Reduce the error to a warning so that debug and release
versions can still link the same inputs.
- Add another check to verify the input LEB is padded to 5 bytes
Differential Revision: https://reviews.llvm.org/D46479
llvm-svn: 331571
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions