sergei
|
179586f589
+ SEH support for Win32. Enable by cycling with OPT=-dTEST_WIN32_SEH.
|
11 years ago |
nickysn
|
c1b0fb81f1
* updated all the RTL helper functions related to exceptions and stack traces to use codepointer instead of pointer
|
12 years ago |
nickysn
|
b688b79a0d
* fixed the order of parameters in the first call to get_caller_frame in PushExceptObject
|
12 years ago |
nickysn
|
1e28790e99
* fpc_PushExceptAddr's parameter Ft changed from LongInt to SmallInt on 16-bit CPUs for better efficiency
|
12 years ago |
nickysn
|
252903175c
* TExceptAddr.frametype changed to SmallInt on 16-bit CPUs, since the compiler allocates 3*sizeof(pint) for the whole structure (and using longints on 16-bit CPUs is wasteful anyway)
|
12 years ago |
florian
|
92565c80ba
* make exception variables threadvars or not depending on threading support
|
12 years ago |
pierre
|
6eccf88499
call halt(217) if get_caller_XX function generates an exception
|
13 years ago |
pierre
|
305a275746
Protect with try/except blocks call to get_caller_XXX functions to avoid troubles if stack is invalid
|
13 years ago |
pierre
|
bc1ecc2e94
Use two parameter versions of get_caller_frame and get_caller_addr to get correct results for MIPS
|
13 years ago |
sergei
|
cbad0abab5
+ Platform-specific exception support for x86_64-win64. Enable by cycling with OPT=-dTEST_WIN64_SEH.
|
13 years ago |
sergei
|
ebe1d74d6e
* Moved multiple similar checks for FPC_HAS_FEATURE_EXITCODE and FPC_LIMITED_EXITCODE to Halt() procedure. Now these checks appear only once.
|
14 years ago |
sergei
|
56900b4754
* RTL: clean up exception handling code (functionality is not changed).
|
14 years ago |
sergei
|
a32fdc3ae6
+ Added a simple helper tcg.g_call, intended to replace allocallcpuregisters+a_call_name+deallocallcpuregisters sequence which is used all over the place.
|
14 years ago |
sergei
|
fa4b78363c
+ Handle safecall exceptions with a dedicated compilerproc, simplifies compiler part and reduces generated code size.
|
14 years ago |
paul
|
fcaac0ebe1
compiler,rtl - safecall handling:
|
15 years ago |
paul
|
bfb7d91b74
rtl: fix typos
|
15 years ago |
yury
|
e475735c43
* ifdefed fatal error messages in exception handling to be available only if debugging is needed.
|
17 years ago |
yury
|
99ea98c7b1
* Workaround dead code warnings by using preprocessor.
|
17 years ago |
yury
|
3ab20922d6
* Optimization for code size. It saves 1.5KB for ARM and 0.5KB for i386.
|
19 years ago |
Jonas Maebe
|
865a4573cf
* exit with exitcode 217 instead of some random OS result
|
19 years ago |
yury
|
df6fec5301
* removed runtime error on unhandled exception when SysUtils is used.
|
19 years ago |
florian
|
0089de9428
* improved exception handling code
|
19 years ago |
florian
|
9e5a2f9522
* From Yury Sidorov:
|
20 years ago |
florian
|
25b79e9db3
* patch from Yury Sidorov to make simply exception handling without sysutils possible
|
20 years ago |
peter
|
58cdeb8184
* give runerror 231 if exceptobjectstack=nil
|
20 years ago |
michael
|
5cafc069b5
+ Removed NOSAVEREGISTERS define
|
20 years ago |
michael
|
859bb30daa
+ Removed HASTHREADVAR SUPPORT_THREADVAR defines
|
20 years ago |
michael
|
93ba0409be
+ Removed HASCOMPILERPROC define
|
20 years ago |
michael
|
5d02b2c6cc
Removed HAS_ADDR_STACK_ON_STACK define
|
20 years ago |
peter
|
4ace790492
* remove $Log
|
20 years ago |