forked from OSchip/llvm-project
parent
e26c721976
commit
de098cd08f
|
@ -688,9 +688,7 @@ llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty,
|
|||
}
|
||||
|
||||
llvm::DIArray EltTypeArray = DBuilder.getOrCreateArray(EltTys);
|
||||
|
||||
llvm::DIType DbgTy = DBuilder.createSubroutineType(Unit, EltTypeArray);
|
||||
return DbgTy;
|
||||
return DBuilder.createSubroutineType(Unit, EltTypeArray);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue