<div dir="ltr">Can anyone tell me if invoke/unwind is stable in 2.3? I'm seeing some really weird stuff -- unwinds are ending up in seemingly arbitrary places... definitely not inside the caller's unwind block My target is x86. <br>
<br>As a simple test, I tried to compile the following code and I got a segmentation fault. It looks good to me. Can someone help me out or is this a bug?<br><br>define i32 @foo() {<br>entry:<br> unwind<br>}<br><br>
define i32 @main() nounwind {<br>entry:<br> %bar = invoke i32 @foo( ) to label %yes unwind label %no<br>yes:<br> ret i32 %bar<br>no:<br> ret i32 -1<br>}<br><br>Marc<br></div>