Fix ctor vtable name. WIP.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86879 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp
index 233bdaf..64b30ab 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -687,7 +687,7 @@
llvm::SmallString<256> OutName;
llvm::raw_svector_ostream Out(OutName);
if (LayoutClass)
- mangleCXXCtorVtable(getMangleContext(), RD, Offset, LayoutClass, Out);
+ mangleCXXCtorVtable(getMangleContext(), LayoutClass, Offset, RD, Out);
else
mangleCXXVtable(getMangleContext(), RD, Out);