Work around invalid DWARF bugs for fat LTO
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
This commit is contained in:
@@ -2377,12 +2377,8 @@ 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 LLVMRustLTOGetDICompileUnit(M: &Module, CU1: &mut *mut c_void, CU2: &mut *mut c_void);
|
||||
pub fn LLVMRustLTOPatchDICompileUnit(M: &Module, CU: *mut c_void);
|
||||
|
||||
pub fn LLVMRustLinkerNew(M: &'a Module) -> &'a mut Linker<'a>;
|
||||
pub fn LLVMRustLinkerAdd(
|
||||
|
||||
Reference in New Issue
Block a user