diff options
| author | Reid Kleckner <reid@kleckner.net> | 2015-02-11 18:50:13 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2015-02-11 18:50:13 +0000 |
| commit | 4c209c7e1f649f3c6a545a9c843a151acc8c8ce9 (patch) | |
| tree | df3c7e754e882eb4504b79b4e2210ac69b05435c /clang/test/CodeGenCXX | |
| parent | a906ee754db108e836a8c9a9d308f47f6cd264d6 (diff) | |
| download | bcm5719-llvm-4c209c7e1f649f3c6a545a9c843a151acc8c8ce9.tar.gz bcm5719-llvm-4c209c7e1f649f3c6a545a9c843a151acc8c8ce9.zip | |
Add a comdat to __clang_call_terminate
llvm-svn: 228863
Diffstat (limited to 'clang/test/CodeGenCXX')
| -rw-r--r-- | clang/test/CodeGenCXX/exceptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/exceptions.cpp b/clang/test/CodeGenCXX/exceptions.cpp index 5016e9a794a..c1c678d832f 100644 --- a/clang/test/CodeGenCXX/exceptions.cpp +++ b/clang/test/CodeGenCXX/exceptions.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s +// RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s typedef typeof(sizeof(0)) size_t; @@ -71,7 +71,7 @@ namespace test1 { // rdar://11904428 // Terminate landing pads should call __cxa_begin_catch first. - // CHECK: define linkonce_odr hidden void @__clang_call_terminate(i8*) [[NI_NR_NUW:#[0-9]+]] + // CHECK: define linkonce_odr hidden void @__clang_call_terminate(i8*) [[NI_NR_NUW:#[0-9]+]] comdat // CHECK-NEXT: [[T0:%.*]] = call i8* @__cxa_begin_catch(i8* %0) [[NUW:#[0-9]+]] // CHECK-NEXT: call void @_ZSt9terminatev() [[NR_NUW:#[0-9]+]] // CHECK-NEXT: unreachable |

