llvm-project/lld/test/wasm/lto
Sam Clegg 7c663cde14 [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
2019-06-05 21:08:30 +00:00
..
Inputs [WebAssemlby] Set IsUsedInRegularObj correctly for undefined data symbols 2018-07-17 19:15:02 +00:00
archive.ll [WebAssebmly] Allow __wasm_call_ctors to be GC'ed 2019-03-01 22:35:47 +00:00
atomics.ll [WebAssembly] Remove uses of ThreadModel 2019-02-28 18:39:08 +00:00
cache.ll [test] Mark atime-based tests unsupported on NetBSD 2018-12-07 16:21:08 +00:00
comdat.ll [WebAssembly] Improve lto/comdat.ll test. NFC. 2019-06-05 21:08:30 +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 export __data_end and __heap_base by default. 2019-05-31 22:51:59 +00:00
incompatible.ll
internalize-basic.ll
lto-start.ll [WebAssebmly] Allow __wasm_call_ctors to be GC'ed 2019-03-01 22:35:47 +00:00
opt-level.ll [WebAssembly] Use wasm-ld rather than lld with -flavor in tests. NFC. 2019-02-05 16:53:33 +00:00
parallel.ll
relocatable-undefined.ll [WebAssembly] Fix crash with LTO + relocatable + undefined symbols 2019-01-30 18:55:15 +00:00
relocatable.ll [test] Change llvm-readobj -long-option to --long-option or well-known short options. NFC 2019-05-01 05:49:01 +00:00
save-temps.ll
signature-mismatch.ll [WebAssembly] Don't generate invalid modules when function signatures mismatch 2019-02-20 23:19:31 +00:00
thinlto.ll
undef.ll [WebAssembly] Fix signatures of undefined function in LTO object which are not called directly. 2019-05-29 15:36:42 +00:00
used.ll [WebAssebmly] Allow __wasm_call_ctors to be GC'ed 2019-03-01 22:35:47 +00:00
verify-invalid.ll
weak-undefined.ll [WebAssembly] Refactor handling of weak undefined functions. NFC. 2019-02-07 22:42:16 +00:00
weak.ll [test] Change llvm-readobj -long-option to --long-option or well-known short options. NFC 2019-05-01 05:49:01 +00:00