summaryrefslogtreecommitdiff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-18 01:35:41 +0000
committerbors <bors@rust-lang.org>2023-05-18 01:35:41 +0000
commit77fb0cd3aa276919e00397f526616c5036562ea1 (patch)
treefdcc29ce323213490b0318593835e7dd6d7c4b9f /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent24c180c438b5ee9a150d20b9822bd7712bef8f62 (diff)
parentc836c24994f0113effd0409d8d063b4f4e68f5b6 (diff)
downloadrust-77fb0cd3aa276919e00397f526616c5036562ea1.tar.gz
Auto merge of #111364 - cuviper:unhack-thinlto, r=nikicHEADmaster
Remove the ThinLTO CU hack This reverts #46722, commit e0ab5d5feb4eb2d8af11b8dd9446c2b45fada8af. Since #111167, commit 10b69dde3fd15334ea2382d2dc9e9a261de1afaf, we are generating DWARF subprograms in a way that is meant to be more compatible with LLVM's expectations, so hopefully we don't need this workaround rewriting CUs anymore.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index aefd5b2a13c..de93a64c0d6 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2484,12 +2484,6 @@ extern "C" {
len: usize,
out_len: &mut usize,
) -> *const u8;
- pub fn LLVMRustThinLTOGetDICompileUnit(
- M: &Module,
- CU1: &mut *mut c_void,
- CU2: &mut *mut c_void,
- );
- pub fn LLVMRustThinLTOPatchDICompileUnit(M: &Module, CU: *mut c_void);
pub fn LLVMRustLinkerNew(M: &Module) -> &mut Linker<'_>;
pub fn LLVMRustLinkerAdd(