Work around invalid DWARF bugs for fat LTO
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
This commit is contained in:
parent
1c03f0d0ba
commit
d5de680e20
3 changed files with 20 additions and 10 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue