rust/src/test/run-make
bors 5665a2d367 Auto merge of #52506 - alexcrichton:dont-duplicate-wasm-sections, r=michaelwoerister
rustc: Work around an upstream wasm ThinLTO bug

This commit implements a workaround for an [upstream LLVM bug][1] where custom
sections were accidentally duplicated amongst codegen units when ThinLTO passes
were performed. This is due to the fact that custom sections for wasm are stored
as metadata nodes which are automatically imported into modules when ThinLTO
happens. The fix here is to forcibly delete the metadata node from imported
modules before LLVM has a chance to try to copy it over.

[1]: https://bugs.llvm.org/show_bug.cgi?id=38184
2018-07-23 13:42:23 +00:00
..
wasm-custom-section rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
wasm-custom-sections-opt rustc: Work around an upstream wasm ThinLTO bug 2018-07-18 12:12:53 -07:00
wasm-import-module rustc: Stabilize #[wasm_import_module] as #[link(...)] 2018-07-18 07:50:08 -07:00
wasm-panic-small std: Avoid allocating panic message unless needed 2018-04-13 07:04:24 -07:00