forked from OSchip/llvm-project
Don't assume constructors return void.
Should fix ARM buildbot. llvm-svn: 329449
This commit is contained in:
parent
95ea1b05fd
commit
eea7062c3a
|
@ -9,7 +9,7 @@ namespace Implicit {
|
|||
C f(C c) { return c; }
|
||||
|
||||
// CHECK: define {{.*}} @_ZN8Implicit1CC1EOS0_
|
||||
// CHECK: call void @_ZN8Implicit1AC2ERKS0_(
|
||||
// CHECK: call {{.*}} @_ZN8Implicit1AC2ERKS0_(
|
||||
// Note: this must memcpy 7 bytes, not 8, to avoid trampling over the virtual base class.
|
||||
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 7, i1 false)
|
||||
// CHECK: store i32 {{.*}} @_ZTVN8Implicit1CE
|
||||
|
@ -26,7 +26,7 @@ namespace InitWithinNVSize {
|
|||
C f(C c) { return c; }
|
||||
|
||||
// CHECK: define {{.*}} @_ZN16InitWithinNVSize1CC1EOS0_
|
||||
// CHECK: call void @_ZN16InitWithinNVSize1AC2ERKS0_(
|
||||
// CHECK: call {{.*}} @_ZN16InitWithinNVSize1AC2ERKS0_(
|
||||
// This copies over the 'C::x' member, but that's OK because we've not initialized it yet.
|
||||
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 8, i1 false)
|
||||
// CHECK: store i32 {{.*}} @_ZTVN16InitWithinNVSize1CE
|
||||
|
|
Loading…
Reference in New Issue