summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/runtimecc.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2016-05-10 17:44:55 +0000
committerDerek Schuff <dschuff@google.com>2016-05-10 17:44:55 +0000
commit6d5ba2295fe4618f43fba20ca3c61e55ea838caa (patch)
treea92517c512a9ed7442253e491873fcfc7dceb94c /test/CodeGenCXX/runtimecc.cpp
parent9200e112a6ec509102623ad197cc8f3ed1cec555 (diff)
Introduce CGCXXABI::canCallMismatchedFunctionType
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/runtimecc.cpp')
-rw-r--r--test/CodeGenCXX/runtimecc.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/CodeGenCXX/runtimecc.cpp b/test/CodeGenCXX/runtimecc.cpp
index 1aac5ffa71..ad6dc85c36 100644
--- a/test/CodeGenCXX/runtimecc.cpp
+++ b/test/CodeGenCXX/runtimecc.cpp
@@ -22,13 +22,8 @@ namespace test0 {
A global;
// CHECK-LABEL: define internal void @__cxx_global_var_init()
// CHECK: call [[A]]* @_ZN5test01AC1Ev([[A]]* @_ZN5test06globalE)
-// CHECK-NEXT: call i32 @__cxa_atexit(void (i8*)* @__cxx_global_array_dtor, i8* null, i8* @__dso_handle) [[NOUNWIND:#[0-9]+]]
+// CHECK-NEXT: call i32 @__cxa_atexit(void (i8*)* bitcast ([[A]]* ([[A]]*)* @_ZN5test01AD1Ev to void (i8*)*), i8* bitcast ([[A]]* @_ZN5test06globalE to i8*), i8* @__dso_handle) [[NOUNWIND:#[0-9]+]]
// CHECK-NEXT: ret void
-
-// CHECK-LABEL: define internal void @__cxx_global_array_dtor(i8*)
-// CHECK: call [[A]]* @_ZN5test01AD1Ev([[A]]* @_ZN5test06globalE)
-// CHECK-NEXT: ret void
-
}
// CHECK: declare i32 @__cxa_atexit(void (i8*)*, i8*, i8*) [[NOUNWIND]]