diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-06 18:46:00 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-06 18:46:00 +0000 |
commit | e42279cda481b48138d2119f4a4bbce7077f0a72 (patch) | |
tree | 7ed0b8521bcd57f6ab0b94ad41a5a637f84e7470 /include | |
parent | 5930eabe0fdc48c02c5af500aa5b1c5b732848b1 (diff) | |
download | external_llvm-e42279cda481b48138d2119f4a4bbce7077f0a72.zip external_llvm-e42279cda481b48138d2119f4a4bbce7077f0a72.tar.gz external_llvm-e42279cda481b48138d2119f4a4bbce7077f0a72.tar.bz2 |
Debug Info: Use identifier to reference DIType in containing type field of
a DICompositeType.
Verifier is updated accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 4d08ce9..42ec188 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -358,8 +358,8 @@ namespace llvm { void setTypeArray(DIArray Elements, DIArray TParams = DIArray()); void addMember(DIDescriptor D); unsigned getRunTimeLang() const { return getUnsignedField(11); } - DICompositeType getContainingType() const { - return getFieldAs<DICompositeType>(12); + DITypeRef getContainingType() const { + return getFieldAs<DITypeRef>(12); } void setContainingType(DICompositeType ContainingType); DIArray getTemplateParams() const { return getFieldAs<DIArray>(13); } |