summaryrefslogtreecommitdiff
path: root/include/llvm/DebugInfo.h
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-06 18:46:00 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-06 18:46:00 +0000
commite42279cda481b48138d2119f4a4bbce7077f0a72 (patch)
tree7ed0b8521bcd57f6ab0b94ad41a5a637f84e7470 /include/llvm/DebugInfo.h
parent5930eabe0fdc48c02c5af500aa5b1c5b732848b1 (diff)
downloadllvm-e42279cda481b48138d2119f4a4bbce7077f0a72.tar.gz
llvm-e42279cda481b48138d2119f4a4bbce7077f0a72.tar.bz2
llvm-e42279cda481b48138d2119f4a4bbce7077f0a72.tar.xz
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/llvm/DebugInfo.h')
-rw-r--r--include/llvm/DebugInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 4d08ce90b2..42ec18899f 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); }