projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b450430
)
Use type's file info while describing inheritance relationship.
author
Devang Patel
<dpatel@apple.com>
Wed, 8 Dec 2010 21:46:37 +0000
(21:46 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 8 Dec 2010 21:46:37 +0000
(21:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121289
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DIBuilder.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DIBuilder.cpp
b/lib/Analysis/DIBuilder.cpp
index 96584611b27f002a551045898472dfa9e655faa2..c59e8285ff1dc110caa45478134c79b5e5a10f26 100644
(file)
--- 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