about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-01-23 21:59:53 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-01-24 07:18:02 -0800
commit63b3168448061a510915d76630c6803de8cac595 (patch)
tree0e1715798da81496a2cc582738b1eb7945e14831 /src/test/incremental/thinlto
parentcaedb36f081334451ba83e9524af025891208592 (diff)
downloadrust-63b3168448061a510915d76630c6803de8cac595.tar.gz
rust-63b3168448061a510915d76630c6803de8cac595.zip
llvm6: Don't clone LLVM modules on wasm
The comment for why cloning exists doesn't actually apply for wasm today and
apparently cloning is causing subtle bugs in LLVM, so let's just avoid it
altogether. More specifically after we emit the assembly for the wasm target we
don't actually use the module again, so there's no need to keep both around.

This seemed to be causing some scary verifier assertions in LLVM which seemed to
be uncovered by presumably (?) buggy behavior. Let's just avoid it for now and
make the wasm target slightly more lean in the process.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions