summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-07 00:04:05 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-07 00:04:05 +0000
commit0e85f6e391990cc20be98263640b843edfa32bef (patch)
tree808ec8e8eab9f2802c262c09743a61879013fd70 /include
parent69f8e0935af16622ca13d26e6a66464d3c1f3da4 (diff)
downloadllvm-0e85f6e391990cc20be98263640b843edfa32bef.tar.gz
llvm-0e85f6e391990cc20be98263640b843edfa32bef.tar.bz2
llvm-0e85f6e391990cc20be98263640b843edfa32bef.tar.xz
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
Diffstat (limited to 'include')
-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 42ec18899f..a3a231ba80 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -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 {