svenbarth
4e06d66d7f
+ implement RTL functionality for SEH for aarch64-win64
...
git-svn-id: trunk@44940 -
2020-04-21 06:05:59 +00:00
svenbarth
bfa5bf80e2
* inside the Win64 system unit convert FPC_USE_WIN64_SEH to a SYSTEM_USE_WIN_SEH
...
git-svn-id: trunk@44939 -
2020-04-21 06:05:55 +00:00
svenbarth
c152796bf3
* rename RunErrorCodex64 to a more appropriate RunErrorCodeSEH
...
git-svn-id: trunk@44937 -
2020-04-21 06:05:46 +00:00
svenbarth
25c6f3a667
* the prefetch bug handling is specific to x86_64
...
git-svn-id: trunk@44936 -
2020-04-21 06:05:43 +00:00
svenbarth
f3c377f8d1
* use accessor functions to work with the TContext record
...
git-svn-id: trunk@44935 -
2020-04-21 06:05:39 +00:00
sergei
f73b3c6e4b
* Also assign the ErrorCode variable, which is being checked by some tests like test/tstack.pp.
...
git-svn-id: trunk@33419 -
2016-04-03 22:26:10 +00:00
sergei
d93d36e6d3
* Win64: Use separate implementation of CaptureBacktrace that calls RtlCaptureStackBackTrace. This way it does not require non-optimized code to work correctly.
...
git-svn-id: trunk@29692 -
2015-02-14 11:41:33 +00:00
sergei
896c1ff6d6
* Win64 SEH: don't call RunError in exception handler, because it always prints backtrace from caller's context. Instead, print the correct backtrace explicitly.
...
git-svn-id: trunk@29678 -
2015-02-13 05:02:20 +00:00
sergei
e79e038f9c
+ Win32/Win64 SEH: STATUS_FLOAT_MULTIPLE_(FAULTS|TRAPS) need additional handling. Makes floating-point exceptions consistent between x87 and SSE.
...
git-svn-id: trunk@27177 -
2014-03-17 22:49:29 +00:00
sergei
3fb304cbe2
- Removed Win64 SEH code specific to results of managed types returned in registers. Since r26228 managed types are always returned in parameters.
...
git-svn-id: trunk@27162 -
2014-03-16 15:48:49 +00:00
sergei
1d5dc8c3bd
* More comments can never harm.
...
git-svn-id: trunk@27161 -
2014-03-16 15:37:40 +00:00
sergei
d004607876
* fpc_raiseexception does not return a result.
...
git-svn-id: trunk@26837 -
2014-02-22 15:18:31 +00:00
sergei
04c0845189
* Moved more reusable exception handling code from seh64.inc to syswin.inc.
...
* sysutils.pp: Install ExceptObjProc and ExceptClsProc also on Win32.
git-svn-id: trunk@26181 -
2013-12-04 14:02:54 +00:00
sergei
6a40ff730c
* In preparation to support SEH on Win32, moved definitions that apply to Win32 from seh64.inc into syswin.inc.
...
git-svn-id: trunk@26153 -
2013-11-29 14:23:46 +00:00
sergei
690995fa12
* RTL: fixed some warnings when compiling for x86_64:
...
* x86_64/x86_64.inc: IsMultithread is a LongBool, not Boolean -> fixed assembler instruction suffixes
* inc/generic.inc: cast Sizeof() to unsigned, so that combining it with unsigned operands does not cause promotion to larger signed type.
+ win64/seh64.inc: explicit typecast and missing function result assignment.
+ inc/genmath.inc: explicit typecasts.
git-svn-id: trunk@25384 -
2013-08-29 07:52:38 +00:00
Jonas Maebe
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
...
that the type of the parameters can be determined automatically
o added compilerproc declarations for all helpers called in the compiler
via their assembler name, so we can look up the corresponding procdef
git-svn-id: trunk@23325 -
2013-01-06 15:05:40 +00:00
sergei
cbad0abab5
+ Platform-specific exception support for x86_64-win64. Enable by cycling with OPT=-dTEST_WIN64_SEH.
...
git-svn-id: trunk@20098 -
2012-01-16 23:13:31 +00:00
sergei
cd347e40b2
* Moved existing exception-related definitions into separate include file seh64.inc, and added some more WinAPI definitions needed for SEH.
...
git-svn-id: trunk@19869 -
2011-12-18 01:15:31 +00:00