Changeset 898:db3f8e7d79d2
- Timestamp:
- 01/22/09 11:57:38
(3 years ago)
- Author:
- Christian Kamm <kamm incasoftware de>
- branch:
- default
- Message:
Add headers for HP's libunwind, currently unused though.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r897 |
r898 |
|
| 21 | 21 | version(solaris) version=X86_UNWIND; |
|---|
| 22 | 22 | } |
|---|
| | 23 | |
|---|
| | 24 | //version = HP_LIBUNWIND; |
|---|
| 23 | 25 | |
|---|
| 24 | 26 | private extern(C) void abort(); |
|---|
| … | … | |
| 67 | 69 | } |
|---|
| 68 | 70 | |
|---|
| 69 | | version(X86_UNWIND) |
|---|
| | 71 | // interface to HP's libunwind from http://www.nongnu.org/libunwind/ |
|---|
| | 72 | version(HP_LIBUNWIND) |
|---|
| | 73 | { |
|---|
| | 74 | void __libunwind_Unwind_Resume(_Unwind_Exception *); |
|---|
| | 75 | _Unwind_Reason_Code __libunwind_Unwind_RaiseException(_Unwind_Exception *); |
|---|
| | 76 | ptrdiff_t __libunwind_Unwind_GetLanguageSpecificData(_Unwind_Context_Ptr |
|---|
| | 77 | context); |
|---|
| | 78 | ptrdiff_t __libunwind_Unwind_GetIP(_Unwind_Context_Ptr context); |
|---|
| | 79 | ptrdiff_t __libunwind_Unwind_SetIP(_Unwind_Context_Ptr context, |
|---|
| | 80 | ptrdiff_t new_value); |
|---|
| | 81 | ptrdiff_t __libunwind_Unwind_SetGR(_Unwind_Context_Ptr context, int index, |
|---|
| | 82 | ptrdiff_t new_value); |
|---|
| | 83 | ptrdiff_t __libunwind_Unwind_GetRegionStart(_Unwind_Context_Ptr context); |
|---|
| | 84 | |
|---|
| | 85 | alias __libunwind_Unwind_Resume _Unwind_Resume; |
|---|
| | 86 | alias __libunwind_Unwind_RaiseException _Unwind_RaiseException; |
|---|
| | 87 | alias __libunwind_Unwind_GetLanguageSpecificData |
|---|
| | 88 | _Unwind_GetLanguageSpecificData; |
|---|
| | 89 | alias __libunwind_Unwind_GetIP _Unwind_GetIP; |
|---|
| | 90 | alias __libunwind_Unwind_SetIP _Unwind_SetIP; |
|---|
| | 91 | alias __libunwind_Unwind_SetGR _Unwind_SetGR; |
|---|
| | 92 | alias __libunwind_Unwind_GetRegionStart _Unwind_GetRegionStart; |
|---|
| | 93 | } |
|---|
| | 94 | else version(X86_UNWIND) |
|---|
| 70 | 95 | { |
|---|
| 71 | 96 | void _Unwind_Resume(_Unwind_Exception*); |
|---|