diff options
author | Eric Christopher <echristo@apple.com> | 2012-02-17 07:09:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-02-17 07:09:48 +0000 |
commit | 1e009d594325390eda1e3c89e4930b30d8b828dc (patch) | |
tree | fdbd78d555d51f15e4f24507e792fb669f946c39 /lib/CodeGen/CGDebugInfo.cpp | |
parent | a9b21d22bb9337649723a8477b5cb15f83451e7d (diff) |
Index "12" holds the vtable, not "9".
Fixes lots of gdb testsuite failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 1f733be1a7..784e018be9 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1798,7 +1798,7 @@ llvm::DIType CGDebugInfo::CreateLimitedType(const RecordType *Ty) { else if (CXXDecl->isDynamicClass()) ContainingType = RealDecl; - RealDecl->replaceOperandWith(9, ContainingType); + RealDecl->replaceOperandWith(12, ContainingType); } return llvm::DIType(RealDecl); } |