pierre
|
7b3e027dc8
Move update of fields counting allocated memory to after SysGetMem call
|
6 gadi atpakaļ |
Károly Balogh
|
56f0a71466
heaptrc: empty the array for the call trace, otherwise the trace dump code will just dump the rest of the array as well, on systems where the heap is not initialized to zero, or if the memory area has been re-used
|
6 gadi atpakaļ |
pierre
|
70fae803ce
Increase default trace size to 16
|
7 gadi atpakaļ |
pierre
|
18cc1f1709
Try to implement CheckPointer exclusion range for FreeBSD OS
|
7 gadi atpakaļ |
florian
|
4029783abb
* forgotten space added
|
7 gadi atpakaļ |
florian
|
c08bdf3f85
* patch by Anton Kavalenka: heaptrc prints exe/dll binary name where it is linked, resolves #32707
|
7 gadi atpakaļ |
pierre
|
6c43882cf5
Allow compilation with -Sfnothreading
|
8 gadi atpakaļ |
florian
|
bb8b8f2eae
* do not set IsMultithread on windows, if no second thread is started, resolves #30535
|
8 gadi atpakaļ |
pierre
|
749dc00401
Fix CheckPointer code for pointer in stack area for linux
|
9 gadi atpakaļ |
pierre
|
cb5f540eb9
Fix typo in last commit: to disable TraceManager, call SetMemoryManager with saved PrevMemoryManager variable
|
9 gadi atpakaļ |
pierre
|
b6b27f2fb7
+ Add tail_size varaible to be able to adjust size of tail memory area.
|
9 gadi atpakaļ |
pierre
|
5884fbc8b0
Move {$checkpointer off} before interface and relax windows data bss check to also accept sections in between like .rdata
|
9 gadi atpakaļ |
pierre
|
0cb0bc3371
Use symbols instead of constants in code:
|
9 gadi atpakaļ |
pierre
|
47f01eaa52
Fix CRC calculation for i8086 compact memory model
|
9 gadi atpakaļ |
pierre
|
a72434e93a
Trial to clarify heap for i8086 issues:
|
9 gadi atpakaļ |
pierre
|
fe6feb741b
Use macros for msdos OS to translate SysGetMem into SysTinyGetMem and similar, fixes several RTE 203 isssues for msdos target OS
|
9 gadi atpakaļ |
svenbarth
|
6afda909d4
Rework TlsKey handling on Windows so that it works as intended with indirect main information
|
9 gadi atpakaļ |
pierre
|
fd612990e5
Fix number of frames requested when calling CaptureBackTrace function
|
9 gadi atpakaļ |
nickysn
|
4454332d7a
* fixed the sysutils.GetEnvironment* functions for i8086-msdos
|
10 gadi atpakaļ |
nickysn
|
3faf91a270
* replaced nested ifdefs with an elseif sequence
|
10 gadi atpakaļ |
yury
|
e1a0b1204a
* Removed unused vars in RTL.
|
10 gadi atpakaļ |
michael
|
1fd2735198
* Fix for 28578
|
10 gadi atpakaļ |
sergei
|
7666cd5c0e
+ Overloaded procedure dump_stack that calls CaptureBacktrace, thus encapsulating internals of stack traversing.
|
10 gadi atpakaļ |
sergei
|
baa18dfcb4
* Introduced a new function CaptureBacktrace, using it to handle most of back-tracing in heaptrc unit.
|
11 gadi atpakaļ |
sergei
|
5ddb267d57
* Clean up/refactor stack back-tracing code, reducing overall amount of checks and rejecting range from StackBottom to <current frame>.
|
11 gadi atpakaļ |
sergei
|
3b5552ae75
- Killed 'goto'.
|
11 gadi atpakaļ |
nickysn
|
c1b0fb81f1
* updated all the RTL helper functions related to exceptions and stack traces to use codepointer instead of pointer
|
12 gadi atpakaļ |
Jonas Maebe
|
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
|
12 gadi atpakaļ |
florian
|
ddc054be79
* patch by Cyrax for easy redirection of heaptrc output, resolves #22168
|
13 gadi atpakaļ |
pierre
|
f340ef87e3
* get_addr function renamed to get_pc_addr
|
13 gadi atpakaļ |