Debug Info: Use identifier to reference DIType in containing type field of

a DISubprogram.
    
Verifier is updated accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren
2013-09-07 00:04:05 +00:00
parent 69f8e0935a
commit 0e85f6e391
5 changed files with 8 additions and 6 deletions

View File

@@ -426,8 +426,8 @@ namespace llvm {
unsigned getVirtuality() const { return getUnsignedField(10); }
unsigned getVirtualIndex() const { return getUnsignedField(11); }
DICompositeType getContainingType() const {
return getFieldAs<DICompositeType>(12);
DITypeRef getContainingType() const {
return getFieldAs<DITypeRef>(12);
}
unsigned getFlags() const {