diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-16 18:37:31 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-16 18:37:31 +0000 |
commit | ec1fb6d09a774b498927e84a3bacfd4a43535610 (patch) | |
tree | ee817cd2e7e5618329e43e8bf7d854d43c7b3b1c /test | |
parent | d4ed2a8636a1662cbf1e0f077083cf780344263e (diff) | |
download | external_llvm-ec1fb6d09a774b498927e84a3bacfd4a43535610.zip external_llvm-ec1fb6d09a774b498927e84a3bacfd4a43535610.tar.gz external_llvm-ec1fb6d09a774b498927e84a3bacfd4a43535610.tar.bz2 |
Revert r101455, which fails on the llvm-arm-linux buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/ExecutionEngine/eh.ll | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test/ExecutionEngine/eh.ll b/test/ExecutionEngine/eh.ll deleted file mode 100644 index 7e82f14..0000000 --- a/test/ExecutionEngine/eh.ll +++ /dev/null @@ -1,41 +0,0 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli -enable-eh %t.bc > /dev/null - -%struct.__fundamental_type_info_pseudo = type { %struct.__type_info_pseudo } -%struct.__type_info_pseudo = type { i8*, i8* } - -@_ZTIi = external constant %struct.__fundamental_type_info_pseudo ; <%struct.__fundamental_type_info_pseudo*> [#uses=1] -@.llvm.eh.catch.all.value = linkonce constant i8* null, section "llvm.metadata" ; <i8**> [#uses=1] - -define i32 @main() optsize ssp { -entry: - %0 = tail call i8* @__cxa_allocate_exception(i64 4) nounwind ; <i8*> [#uses=2] - %1 = bitcast i8* %0 to i32* ; <i32*> [#uses=1] - store i32 1, i32* %1, align 4 - invoke void @__cxa_throw(i8* %0, i8* bitcast (%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*), void (i8*)* null) noreturn - to label %invcont unwind label %lpad - -invcont: ; preds = %entry - unreachable - -lpad: ; preds = %entry - %eh_ptr = tail call i8* @llvm.eh.exception() ; <i8*> [#uses=2] - %eh_select = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %eh_ptr, i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*), i8** @.llvm.eh.catch.all.value) ; <i32> [#uses=0] - %2 = tail call i8* @__cxa_begin_catch(i8* %eh_ptr) nounwind ; <i8*> [#uses=0] - tail call void @__cxa_end_catch() - ret i32 0 -} - -declare i8* @__cxa_allocate_exception(i64) nounwind - -declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn - -declare i8* @__cxa_begin_catch(i8*) nounwind - -declare i8* @llvm.eh.exception() nounwind readonly - -declare i32 @llvm.eh.selector(i8*, i8*, ...) nounwind - -declare void @__cxa_end_catch() - -declare i32 @__gxx_personality_v0(...) |