diff options
author | Sam Clegg <sbc@chromium.org> | 2019-06-05 21:08:30 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-06-05 21:08:30 +0000 |
commit | 7c663cde14ed973dd3c23327b1f5b364c8a3f0a4 (patch) | |
tree | a3270269903160c284c03e4a79d710c0db449164 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 7ce7110e6d964778141c0866488e154b1ce73d69 (diff) | |
download | llvm-7c663cde14ed973dd3c23327b1f5b364c8a3f0a4.zip llvm-7c663cde14ed973dd3c23327b1f5b364c8a3f0a4.tar.gz llvm-7c663cde14ed973dd3c23327b1f5b364c8a3f0a4.tar.bz2 |
[WebAssembly] Improve lto/comdat.ll test. NFC.
We were not previously testing the comdat exclusion in bitcode objects
because we were linking two copies of the .bc file and the
`linkonce_odr` linkage type was removing the duplicate `_start` at
the LTO stage.
Now we link an bitcode and non-bitcode version both of which contains a
copy of _start. We link them in both orders, which means this test will
fail if comdat exclusion is not working correctly in bitcode parsing.
Differential Revision: https://reviews.llvm.org/D62923
llvm-svn: 362650
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions