]> git.lizzy.rs Git - rust.git/commit
rustc: Remove a workaroudn in ThinLTO fixed upstream
authorAlex Crichton <alex@alexcrichton.com>
Wed, 18 Jul 2018 18:37:56 +0000 (11:37 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 18 Jul 2018 18:37:56 +0000 (11:37 -0700)
commit829bc268a9e3ef4d0f8ec4f6a2fadd604bdc7b8d
treeda726c4ce7fc1db6e818a6fa2d5921184641c088
parent12ed235adc62e63b16bb4f715b143c37a5efa00d
rustc: Remove a workaroudn in ThinLTO fixed upstream

This commit removes a hack in our ThinLTO passes which removes available
externally functions manually. The [upstream bug][1] has long since been fixed,
so we should be able to rely on LLVM natively for this now!

[1]: https://bugs.llvm.org/show_bug.cgi?id=35736
src/librustc_codegen_llvm/back/lto.rs
src/librustc_llvm/ffi.rs
src/rustllvm/PassWrapper.cpp