Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:gmcgarry:20110421083531

Diff

Diff from 1.1 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc-libs/libpcc/unwind.c

Annotated File View

gmcgarry
1.1
1 #include <stdlib.h>
2 #include <inttypes.h>
3
4 struct _Unwind_Context;
5
6 typedef unsigned int _Unwind_Ptr;
7 typedef unsigned int _Unwind_Word;
8
9 typedef enum
10 {
11         _URC_NO_REASON,
12         _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
13         _URC_FATAL_PHASE2_ERROR = 2,
14         _URC_FATAL_PHASE1_ERROR = 3,
15         _URC_NORMAL_STOP = 4,
16         _URC_END_OF_STACK = 5,
17         _URC_HANDLER_FOUND = 6,
18         _URC_INSTALL_CONTEXT = 7,
19         _URC_CONTINUE_UNWIND = 8
20 _Unwind_Reason_Code;
21
22 typedef enum {
23         _UA_SEARCH_PHASE = 1,
24         _UA_CLEANUP_PHASE = 2,
25         _UA_HANDLER_FRAME = 4,
26         _UA_FORCE_UNWIND = 8,
27         _UA_END_OF_STACK = 16
28 _Unwind_Action;
29
30 typedef void (*_Unwind_Trace_Fn)(void);
31
32
33 void
34 _Unwind_Resume(struct _Unwind_Exception *object)
35 {
36         abort();
37 }
38
39 _Unwind_Ptr
40 _Unwind_GetIP(struct _Unwind_Context *context)
41 {
42         abort();
43
44         return 0;
45 }
46
47 _Unwind_Word
48 _Unwind_GetGR(struct _Unwind_Context *contextint index)
49 {
50         abort();
51
52         return 0;
53 }
54
55 _Unwind_Reason_Code
56 _Unwind_Backtrace(_Unwind_Trace_Fn tracevoid * trace_argument)
57 {
58         abort();
59
60         return _URC_NO_REASON;
61 }
62
63 _Unwind_Word
64 _Unwind_GetCFA(struct _Unwind_Context * context)
65 {
66         abort();
67
68         return 0;
69 }
70
71 _Unwind_Reason_Code
72 __gcc_personality_v0(int version_Unwind_Action actionsuint64_t exceptionClassstruct _Unwind_Exception *exceptionObjectstruct _Unwind_Context *context)
73 {
74         abort();
75
76         return _URC_NO_REASON;
77 }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-19 19:51 +0200