diff options
author | Sam Clegg <sbc@chromium.org> | 2018-06-21 00:12:25 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-06-21 00:12:25 +0000 |
commit | 1369dfa30b1487540aa86532fb2d371924ffab52 (patch) | |
tree | 1bf6fb144fa1a4f013272992869cade3f3866f30 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 90ae9677e7825ef99ef8c3bd617882dbc73f81f8 (diff) | |
download | llvm-1369dfa30b1487540aa86532fb2d371924ffab52.zip llvm-1369dfa30b1487540aa86532fb2d371924ffab52.tar.gz llvm-1369dfa30b1487540aa86532fb2d371924ffab52.tar.bz2 |
[WebAssembly] Error on mismatched function signature in final output
During symbol resolution, emit warnings for function signature
mismatches. During GC, if any mismatched symbol is marked as live
then generate an error.
This means that we only error out if the mismatch is written to the
final output. i.e. if we would generate an invalid wasm file.
Differential Revision: https://reviews.llvm.org/D48394
llvm-svn: 335192
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions