[cfe-commits] r150797 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Eric Christopher
echristo at apple.com
Thu Feb 16 23:09:48 PST 2012
Author: echristo
Date: Fri Feb 17 01:09:48 2012
New Revision: 150797
URL: http://llvm.org/viewvc/llvm-project?rev=150797&view=rev
Log:
Index "12" holds the vtable, not "9".
Fixes lots of gdb testsuite failures.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=150797&r1=150796&r2=150797&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Feb 17 01:09:48 2012
@@ -1798,7 +1798,7 @@
else if (CXXDecl->isDynamicClass())
ContainingType = RealDecl;
- RealDecl->replaceOperandWith(9, ContainingType);
+ RealDecl->replaceOperandWith(12, ContainingType);
}
return llvm::DIType(RealDecl);
}
More information about the cfe-commits
mailing list