Use LLVMDIBuilderFinalize
This commit is contained in:
parent
832fcfb64f
commit
cd2af2dd9a
3 changed files with 3 additions and 7 deletions
|
@ -85,7 +85,7 @@ impl<'ll, 'tcx> CodegenUnitDebugContext<'ll, 'tcx> {
|
|||
}
|
||||
|
||||
pub(crate) fn finalize(&self, sess: &Session) {
|
||||
unsafe { llvm::LLVMRustDIBuilderFinalize(self.builder.as_ref()) };
|
||||
unsafe { llvm::LLVMDIBuilderFinalize(self.builder.as_ref()) };
|
||||
|
||||
match sess.target.debuginfo_kind {
|
||||
DebuginfoKind::Dwarf | DebuginfoKind::DwarfDsym => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue