diff options
| author | Yilin Chen <sticnarf@gmail.com> | 2021-09-17 20:21:33 +0800 |
|---|---|---|
| committer | Yilin Chen <sticnarf@gmail.com> | 2021-09-17 23:19:38 +0800 |
| commit | d5de680e20def848751cb3c11e1182408112b1d3 (patch) | |
| tree | 2f3d6690a9ab28728ace3146e5e43f941fced211 /compiler/rustc_codegen_llvm/src/llvm | |
| parent | 1c03f0d0ba4fee54b7aa458f4d3ad989d8bf7b34 (diff) | |
| download | rust-d5de680e20def848751cb3c11e1182408112b1d3.tar.gz rust-d5de680e20def848751cb3c11e1182408112b1d3.zip | |
Work around invalid DWARF bugs for fat LTO
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 3f2ed02d90d..d8c2a345fb0 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -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( |
