Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:ragge:20110918080745

Diff

Diff from 1.3 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;
gmcgarry
1.2
5 struct _Unwind_Exception;
gmcgarry
1.1
6
7 typedef unsigned int _Unwind_Ptr;
8 typedef unsigned int _Unwind_Word;
9
10 typedef enum
11 {
12         _URC_NO_REASON,
13         _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
14         _URC_FATAL_PHASE2_ERROR = 2,
15         _URC_FATAL_PHASE1_ERROR = 3,
16         _URC_NORMAL_STOP = 4,
17         _URC_END_OF_STACK = 5,
18         _URC_HANDLER_FOUND = 6,
19         _URC_INSTALL_CONTEXT = 7,
20         _URC_CONTINUE_UNWIND = 8
21 _Unwind_Reason_Code;
22
23 typedef enum {
24         _UA_SEARCH_PHASE = 1,
25         _UA_CLEANUP_PHASE = 2,
26         _UA_HANDLER_FRAME = 4,
27         _UA_FORCE_UNWIND = 8,
28         _UA_END_OF_STACK = 16
29 _Unwind_Action;
30
31 typedef void (*_Unwind_Trace_Fn)(void);
32
33
34 void
35 _Unwind_Resume(struct _Unwind_Exception *object)
36 {
37         abort();
38 }
39
40 _Unwind_Ptr
41 _Unwind_GetIP(struct _Unwind_Context *context)
42 {
43         abort();
44
45         return 0;
46 }
47
48 _Unwind_Word
49 _Unwind_GetGR(struct _Unwind_Context *contextint index)
50 {
51         abort();
52
53         return 0;
54 }
55
56 _Unwind_Reason_Code
57 _Unwind_Backtrace(_Unwind_Trace_Fn tracevoid * trace_argument)
58 {
59         abort();
60
61         return _URC_NO_REASON;
62 }
63
64 _Unwind_Word
65 _Unwind_GetCFA(struct _Unwind_Context * context)
66 {
67         abort();
68
69         return 0;
70 }
71
72 _Unwind_Reason_Code
ragge
1.3
73 _Unwind_RaiseException(struct _Unwind_Exception *object)
74 {
75         abort();
76         return 0;
77 }
78
79 _Unwind_Reason_Code
80 _Unwind_Resume_or_Rethrow(struct _Unwind_Exception *object)
81 {
82         abort();
83         return 0;
84 }
85
86 void
87 _Unwind_DeleteException (struct _Unwind_Exception *object)
88 {
89         abort();
90 }
91
92 void
93 _Unwind_SetIP(struct _Unwind_Context *context_Unwind_Ptr val)
94 {
95         abort();
96 }
97
98 void
99 _Unwind_SetGR(struct _Unwind_Context *contextint index_Unwind_Word val
100 {
101         abort();
102 }
103
104 void *
105 _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context)
106 {
107         abort();
108         return 0;
109 }
110
111 _Unwind_Ptr
112 _Unwind_GetRegionStart(struct _Unwind_Context *context)
113 {
114         abort();
115         return 0;
116 }
117
118 _Unwind_Ptr
119 _Unwind_GetDataRelBase(struct _Unwind_Context *context)
120 {
121         abort();
122         return 0;
123 }
124
125 _Unwind_Ptr
126 _Unwind_GetTextRelBase(struct _Unwind_Context *context)
127 {
128         abort();
129         return 0;
130 }
131
132 _Unwind_Reason_Code
gmcgarry
1.1
133 __gcc_personality_v0(int version_Unwind_Action actionsuint64_t exceptionClassstruct _Unwind_Exception *exceptionObjectstruct _Unwind_Context *context)
134 {
135         abort();
136
137         return _URC_NO_REASON;
138 }
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-07-11 08:52 +0200