[PATCH] MS ABI: Fix vftable mangling by using the vbtable name algorithm
Reid Kleckner
rnk at google.com
Wed Feb 26 18:36:05 PST 2014
Hi timurrrr, majnemer,
This merges VFPtrInfo and VBTableInfo into VPtrInfo, since they hold
almost the same information. With that change, the vbtable mangling
code can easily be applied to vftable data and we magically get the
correct, unambiguous vftable names.
Fixes PR17748.
http://llvm-reviews.chandlerc.com/D2893
Files:
include/clang/AST/VTableBuilder.h
lib/AST/VTableBuilder.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp
test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2893.1.patch
Type: text/x-patch
Size: 36013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140226/b3195ca4/attachment.bin>
More information about the cfe-commits
mailing list