Displaying 3 results from an estimated 3 matches for "returnstwicefn".
Did you mean:
returnstwicefns
2011 Oct 05
0
[LLVMdev] setjmp - longjmp
That code should do it, but I realized you only detect setjmp functions by
name. My code is calling "__sigsetjmp" not "segsetjmp". You only support
these functions:
static const char *ReturnsTwiceFns[] = {
"_setjmp",
"setjmp",
"sigsetjmp",
"setjmp_syscall",
"savectx",
"qsetjmp",
"vfork",
"getcontext"
};
I think if I add mine to this list, it should work. I will try that.
Thanks,...
2011 Oct 04
2
[LLVMdev] setjmp - longjmp
On Oct 4, 2011, at 3:53 PM, Eli Friedman wrote:
> On Tue, Oct 4, 2011 at 3:10 PM, Khaled ElWazeer
> <khalid.alwazeer at gmail.com> wrote:
>> Hi,
>>
>> I have some code which has sigsetjmp / longjmp. After a longjmp, unreachable
>> is inserted, which is fine. The problem is that in the backend before
>> calling longjmp, some register was spilled to a
2011 Oct 05
1
[LLVMdev] setjmp - longjmp
...PM, Khaled ElWazeer
<khalid.alwazeer at gmail.com>wrote:
>
> That code should do it, but I realized you only detect setjmp functions by
> name. My code is calling "__sigsetjmp" not "segsetjmp". You only support
> these functions:
>
> static const char *ReturnsTwiceFns[] = {
> "_setjmp",
> "setjmp",
> "sigsetjmp",
> "setjmp_syscall",
> "savectx",
> "qsetjmp",
> "vfork",
> "getcontext"
> };
>
> I think if I add mine to...