llvm.org GIT mirror llvm / 599a7aa
Remove the JIT EH/small code model tests for now. These tests rely on two sections being allocated with a limited displacement from one to the other to work. We've never guaranteed this, and consequently these tests usually fail. That led to them being XFAILed, but now they XPASS whenever the sections do happen to be allocated nearby in memory. So I'm removing these for now to get rid of the noise. We can re-instate them if/when we take the time to implement a displacement-respecting allocator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284654 91177308-0d34-0410-b5e6-96231b3b80d8 Lang Hames 3 years ago
2 changed file(s) with 0 addition(s) and 64 deletion(s). Raw diff Collapse all Expand all
+0
-32
test/ExecutionEngine/MCJIT/eh-sm-pic.ll less more
None ; RUN: %lli -relocation-model=pic -code-model=small %s
1 ; XFAIL: cygwin, win32, mingw, mips-, mipsel-, i686, i386, darwin, aarch64, arm
2 declare i8* @__cxa_allocate_exception(i64)
3 declare void @__cxa_throw(i8*, i8*, i8*)
4 declare i32 @__gxx_personality_v0(...)
5 declare void @__cxa_end_catch()
6 declare i8* @__cxa_begin_catch(i8*)
7
8 @_ZTIi = external constant i8*
9
10 define void @throwException() {
11 %exception = tail call i8* @__cxa_allocate_exception(i64 4)
12 call void @__cxa_throw(i8* %exception, i8* bitcast (i8** @_ZTIi to i8*), i8* null)
13 unreachable
14 }
15
16 define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
17 entry:
18 invoke void @throwException()
19 to label %try.cont unwind label %lpad
20
21 lpad:
22 %p = landingpad { i8*, i32 }
23 catch i8* bitcast (i8** @_ZTIi to i8*)
24 %e = extractvalue { i8*, i32 } %p, 0
25 call i8* @__cxa_begin_catch(i8* %e)
26 call void @__cxa_end_catch()
27 br label %try.cont
28
29 try.cont:
30 ret i32 0
31 }
+0
-32
test/ExecutionEngine/OrcMCJIT/eh-sm-pic.ll less more
None ; RUN: %lli -jit-kind=orc-mcjit -relocation-model=pic -code-model=small %s
1 ; XFAIL: cygwin, win32, mingw, mips-, mipsel-, i686, i386, darwin, aarch64, arm
2 declare i8* @__cxa_allocate_exception(i64)
3 declare void @__cxa_throw(i8*, i8*, i8*)
4 declare i32 @__gxx_personality_v0(...)
5 declare void @__cxa_end_catch()
6 declare i8* @__cxa_begin_catch(i8*)
7
8 @_ZTIi = external constant i8*
9
10 define void @throwException() {
11 %exception = tail call i8* @__cxa_allocate_exception(i64 4)
12 call void @__cxa_throw(i8* %exception, i8* bitcast (i8** @_ZTIi to i8*), i8* null)
13 unreachable
14 }
15
16 define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
17 entry:
18 invoke void @throwException()
19 to label %try.cont unwind label %lpad
20
21 lpad:
22 %p = landingpad { i8*, i32 }
23 catch i8* bitcast (i8** @_ZTIi to i8*)
24 %e = extractvalue { i8*, i32 } %p, 0
25 call i8* @__cxa_begin_catch(i8* %e)
26 call void @__cxa_end_catch()
27 br label %try.cont
28
29 try.cont:
30 ret i32 0
31 }