Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0689e9ea
Commit
0689e9ea
authored
Dec 16, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Define __CxxLongjmpUnwind for i386 only.
parent
bc718eec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
cppexcept.c
dlls/msvcrt/cppexcept.c
+15
-14
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcrt/cppexcept.c
View file @
0689e9ea
...
...
@@ -424,6 +424,21 @@ __ASM_GLOBAL_FUNC( __CxxFrameHandler,
"add $28,%esp
\n\t
"
"ret"
);
/*********************************************************************
* __CxxLongjmpUnwind (MSVCRT.@)
*
* Callback meant to be used as UnwindFunc for setjmp/longjmp.
*/
void
__stdcall
__CxxLongjmpUnwind
(
const
struct
MSVCRT___JUMP_BUFFER
*
buf
)
{
cxx_exception_frame
*
frame
=
(
cxx_exception_frame
*
)
buf
->
Registration
;
const
cxx_function_descr
*
descr
=
(
const
cxx_function_descr
*
)
buf
->
UnwindData
[
0
];
TRACE
(
"unwinding frame %p descr %p trylevel %ld
\n
"
,
frame
,
descr
,
buf
->
TryLevel
);
cxx_local_unwind
(
frame
,
descr
,
buf
->
TryLevel
);
}
#endif
/* __i386__ */
/*********************************************************************
...
...
@@ -469,17 +484,3 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
{
return
sizeof
(
cxx_exception_type
);
}
/*********************************************************************
* __CxxLongjmpUnwind (MSVCRT.@)
*
* Callback meant to be used as UnwindFunc for setjmp/longjmp.
*/
void
__stdcall
__CxxLongjmpUnwind
(
const
struct
MSVCRT___JUMP_BUFFER
*
buf
)
{
cxx_exception_frame
*
frame
=
(
cxx_exception_frame
*
)
buf
->
Registration
;
const
cxx_function_descr
*
descr
=
(
const
cxx_function_descr
*
)
buf
->
UnwindData
[
0
];
TRACE
(
"unwinding frame %p descr %p trylevel %ld
\n
"
,
frame
,
descr
,
buf
->
TryLevel
);
cxx_local_unwind
(
frame
,
descr
,
buf
->
TryLevel
);
}
dlls/msvcrt/msvcrt.spec
View file @
0689e9ea
...
...
@@ -76,7 +76,7 @@
@ cdecl _Strftime(str long str ptr ptr)
@ cdecl _XcptFilter(long ptr)
@ cdecl -i386 -norelay __CxxFrameHandler(ptr ptr ptr ptr)
@ stdcall __CxxLongjmpUnwind(ptr)
@ stdcall
-i386
__CxxLongjmpUnwind(ptr)
@ cdecl __RTCastToVoid(ptr) MSVCRT___RTCastToVoid
@ cdecl __RTDynamicCast(ptr long ptr ptr long) MSVCRT___RTDynamicCast
@ cdecl __RTtypeid(ptr) MSVCRT___RTtypeid
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment