Use type's file info while describing inheritance relationship.

llvm-svn: 121289
This commit is contained in:
Devang Patel 2010-12-08 21:46:37 +00:00
parent b258f6e80b
commit e515e18523

View File

@ -203,7 +203,7 @@ DIType DIBuilder::CreateInheritance(DIType Ty, DIType BaseTy,
GetTagConstant(VMContext, dwarf::DW_TAG_inheritance),
Ty,
NULL, // Name
NULL, // File
Ty.getFile(),
ConstantInt::get(Type::getInt32Ty(VMContext), 0), // Line
ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Size
ConstantInt::get(Type::getInt64Ty(VMContext), 0), // Align