Displaying 3 results from an estimated 3 matches for "sigsegv_handler".
2009 Aug 09
3
[LLVMdev] Signals: interpreter vs. JIT
...terpreter support signals, or is it only the JIT that
does? The following sample program crashes with lli 2.5 and lli
top-of-tree.
Thanks and regards,
Matt
=============================
#include <stdio.h>
#include <signal.h>
#include <sys/time.h>
#include <string.h>
void sigsegv_handler (int signum) {
printf ("Uh oh\n");
}
int main (int argc, char **argv) {
struct sigaction sa2;
printf ("sigsegv_handler: %p\r\n", &sigsegv_handler);
/* Install the SIGSEGV handler */
memset ((void *) &sa2, 0, (size_t) sizeof (sa2));
sa2.sa_handl...
2009 Jul 14
0
[LLVMdev] "Recursive compilation detected" and signals
...VEL8 LEVEL8
#define LEVEL10 LEVEL9 LEVEL9
#define LEVEL11 LEVEL10 LEVEL10
#define LEVEL12 LEVEL11 LEVEL11
#define LEVEL13 LEVEL12 LEVEL12
#define LEVEL14 LEVEL13 LEVEL13
#define LEVEL15 LEVEL14 LEVEL14
void timer_handler (int signum)
{
printf ("timer expired\n");
LEVEL13;
}
void sigsegv_handler (int signum) {
printf ("Uh oh\n");
LEVEL13;
}
int main (int argc, char **argv) {
struct itimerval timer;
struct sigaction sa1, sa2;
/* Configure the timer to expire after 250 msec... */
timer.it_value.tv_sec = 0;
timer.it_value.tv_usec = 250000;
/* ... an...
1999 Oct 20
3
patch for tinc-0.3
Hi tinc list members,
There were some problems with Ivo's email adresses (both zarq@iname.com
and
zarq@spark.icicle.dhs.org) so I resent the stuff to the mailling list.
=============================================
Hi Ivo,
Hier is een oplossing voor een bugje in flush_queue(), en ook wat andere
troepjes
zoals een tincd scheduler. Dit werkt wat beter, omdat de