Changeset 813ddcaa
- Timestamp:
- Jan 30, 2018, 2:03:06 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 2e9aed4
- Parents:
- 24ed606
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/interpose.c
r24ed606 r813ddcaa 33 33 #include "startup.h" 34 34 35 void interpose_startup(void) __attribute__(( constructor( STARTUP_PRIORITY_CORE ) ));35 void __cfaabi_interpose_startup(void) __attribute__(( constructor( STARTUP_PRIORITY_CORE ) )); 36 36 37 37 typedef void (*generic_fptr_t)(void); … … 92 92 void sigHandler_abort( __CFA_SIGPARMS__ ); 93 93 94 void interpose_startup() {94 void __cfaabi_interpose_startup() { 95 95 const char *version = NULL; 96 96 … … 98 98 INIT_REALRTN( exit, version ); 99 99 100 __kernel_sigaction( SIGSEGV, sigHandler_segv , SA_SIGINFO ); // Failure handler 101 __kernel_sigaction( SIGBUS , sigHandler_segv , SA_SIGINFO ); // Failure handler 100 __kernel_sigaction( SIGSEGV, sigHandler_segv , SA_SIGINFO ); // Failure handler 101 __kernel_sigaction( SIGBUS , sigHandler_segv , SA_SIGINFO ); // Failure handler 102 __kernel_sigaction( SIGABRT, sigHandler_abort, SA_SIGINFO ); // Failure handler 102 103 } 103 104
Note: See TracChangeset
for help on using the changeset viewer.