[cfe-dev] clang vs. gcc
Chris Lattner
clattner at apple.com
Thu Apr 30 14:56:59 PDT 2009
On Apr 30, 2009, at 2:50 PM, Mike Stump wrote:
> On Apr 30, 2009, at 2:42 PM, Eli Friedman wrote:
>> The only way to safely do setjmp/longjmp in LLVM is to call external
>> functions called "setjmp" and "longjmp".
>
> Are you saying that inline asms are unsafe?
You aren't allowed to have control flow into or out of an inline asm,
so an inline asm for setjmp/longjmp is not safe.
-Chris
More information about the cfe-dev
mailing list