diff options
author | Devang Patel <dpatel@apple.com> | 2010-12-08 21:46:37 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-12-08 21:46:37 +0000 |
commit | b351ebf7fc94887f997aa3f08bdfd3750f0c8af5 (patch) | |
tree | 1bc73cd35014db30496b69ac28d2dcd57560088f /lib | |
parent | b4504308ce87260a22ded19b00be7466237bc255 (diff) | |
download | external_llvm-b351ebf7fc94887f997aa3f08bdfd3750f0c8af5.zip external_llvm-b351ebf7fc94887f997aa3f08bdfd3750f0c8af5.tar.gz external_llvm-b351ebf7fc94887f997aa3f08bdfd3750f0c8af5.tar.bz2 |
Use type's file info while describing inheritance relationship.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DIBuilder.cpp b/lib/Analysis/DIBuilder.cpp index 9658461..c59e828 100644 --- a/lib/Analysis/DIBuilder.cpp +++ b/lib/Analysis/DIBuilder.cpp @@ -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 |