Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:gmcgarry:20110527072349

Diff

Diff from 1.2 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
73 __gcc_personality_v0(int version_Unwind_Action actionsuint64_t exceptionClassstruct _Unwind_Exception *exceptionObjectstruct _Unwind_Context *context)
74 {
75         abort();
76
77         return _URC_NO_REASON;
78 }
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-11-01 05:08 +0100