[llvm-commits] [llvm] r121289 - /llvm/trunk/lib/Analysis/DIBuilder.cpp
Devang Patel
dpatel at apple.com
Wed Dec 8 13:46:37 PST 2010
Author: dpatel
Date: Wed Dec 8 15:46:37 2010
New Revision: 121289
URL: http://llvm.org/viewvc/llvm-project?rev=121289&view=rev
Log:
Use type's file info while describing inheritance relationship.
Modified:
llvm/trunk/lib/Analysis/DIBuilder.cpp
Modified: llvm/trunk/lib/Analysis/DIBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DIBuilder.cpp?rev=121289&r1=121288&r2=121289&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DIBuilder.cpp (original)
+++ llvm/trunk/lib/Analysis/DIBuilder.cpp Wed Dec 8 15:46:37 2010
@@ -203,7 +203,7 @@
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
More information about the llvm-commits
mailing list