Displaying 1 result from an estimated 1 matches for "throw_something".
2008 May 03
1
[LLVMdev] Unwind + lli
Is there a problem using 'unwind' with lli? When I run the following
program with lli, I get a crash:
define i32 @main() {
entry:
invoke void @throw_something() to label %nounwind unwind label %catch
nounwind:
ret i32 1
catch:
ret i32 0
}
define void @throw_something() noreturn {
entry:
unwind
}
To run this, I am doing:
llvm-as crash.ll
lli -enable-eh crash.bc
I was going to report this as a bug, but...