r218964 - MS ABI: Clean up test to not use dllexport, check vftable entries
David Majnemer
david.majnemer at gmail.com
Fri Oct 3 00:48:27 PDT 2014
Author: majnemer
Date: Fri Oct 3 02:48:27 2014
New Revision: 218964
URL: http://llvm.org/viewvc/llvm-project?rev=218964&view=rev
Log:
MS ABI: Clean up test to not use dllexport, check vftable entries
Modified:
cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp
Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp?rev=218964&r1=218963&r2=218964&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp Fri Oct 3 02:48:27 2014
@@ -766,11 +766,15 @@ W::W() {}
}
namespace Test13 {
-struct __declspec(dllexport) A {
+struct A {
// CHECK-LABEL: VFTable for 'Test13::A' (1 entry).
// CHECK-NEXT: 0 | void Test13::A::f() [deleted]
virtual void f() = delete;
+ A();
+ // MANGLING-DAG: @"\01??_7A at Test13@@6B@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast (void ()* @_purecall to i8*)]
};
+
+A::A() {}
}
namespace pr21031_1 {
More information about the cfe-commits
mailing list