[LLVMdev] llvm-gcc4 and setjmp

Anton Korobeynikov asl at math.spbu.ru
Tue Aug 28 05:05:42 PDT 2007


Hello, Torvald

> is there documentation about what happens to setjmp() et al, and how one 
> should handle the setjmp intrinsics?
You shouldn't use them at all.

>  Are setjmp() function calls transformed to intrinsics, or are
>  the intrinsics only used for EH?
Intrisincs are used for representing necessary EH code flow. User's
setjmp() are just function calls. We fixed recently optimization passes
not to touch volatile loads/stores. So, now everything connected with
setjmp should be ok.

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list