diff options
| author | bors <bors@rust-lang.org> | 2018-07-23 13:42:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-23 13:42:23 +0000 |
| commit | 5665a2d36778693ca19215540a518ccf04eb0b1a (patch) | |
| tree | 783a29af3cb65ecdaeefe2f62046424862164ea8 /src/rustllvm/RustWrapper.cpp | |
| parent | 970102f24c7e7d088917b4da2eca3fd1e067efe8 (diff) | |
| parent | e08fcbbd8d241ab68d72dc8b288ca55b8c1114fe (diff) | |
| download | rust-5665a2d36778693ca19215540a518ccf04eb0b1a.tar.gz rust-5665a2d36778693ca19215540a518ccf04eb0b1a.zip | |
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
