Displaying 3 results from an estimated 3 matches for "setjmp_syscall".
2011 Oct 05
0
[LLVMdev] setjmp - longjmp
...d 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,
-Khaled
On Tue, Oct 4, 2011 at 7:15 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
> O...
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
...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,
> -Khaled
>
>
> On Tue, Oct 4, 2011 at 7:15 PM, Jakob...