Auto merge of #111364 - cuviper:unhack-thinlto, r=nikic
Remove the ThinLTO CU hack This reverts #46722, commite0ab5d5feb. Since #111167, commit10b69dde3f, 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.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user