diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2017-07-27 18:52:44 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2017-07-27 18:52:44 +0000 |
| commit | c47fcf0ae5304127f98964817a1f1fa75eec91f3 (patch) | |
| tree | 9bc34e071d93f774c281af66cac6eb606b0033f7 /clang/test | |
| parent | 4d82e40310371ba0e3bbc73d4aeacde371b4c3d3 (diff) | |
| download | bcm5719-llvm-c47fcf0ae5304127f98964817a1f1fa75eec91f3.tar.gz bcm5719-llvm-c47fcf0ae5304127f98964817a1f1fa75eec91f3.zip | |
Revert r264998 and r265035.
r303175 made changes to have __cxa_allocate_exception return a 16-byte
aligned pointer, so it's no longer necessary to specify a lower
alignment (8-bytes) for exception objects on Darwin.
rdar://problem/32363695
llvm-svn: 309308
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGenCXX/eh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/eh.cpp b/clang/test/CodeGenCXX/eh.cpp index db0576a1bae..cf021b8f4cd 100644 --- a/clang/test/CodeGenCXX/eh.cpp +++ b/clang/test/CodeGenCXX/eh.cpp @@ -466,7 +466,7 @@ int foo() { // CHECK: [[T0:%.*]] = call i8* @__cxa_allocate_exception(i64 16) // CHECK-NEXT: [[T1:%.*]] = bitcast i8* [[T0]] to %"class.test17::DerivedException"* // CHECK-NEXT: [[T2:%.*]] = bitcast %"class.test17::DerivedException"* [[T1]] to i8* - // CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* [[T2]], i8 0, i64 16, i32 8, i1 false) + // CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* [[T2]], i8 0, i64 16, i32 16, i1 false) } } |

