3 Commits

Author SHA1 Message Date
Philippe Gil
45c4d79e8c Fix crash dumping memory statistics on windows
When PIE mode is used address reported doesn't fit in Long_Integer type
used to handle conversions.

Long_Integer replaced it by valid & portable
System.Storage_Elements.Integer_Address

for #1142
2023-06-14 12:04:01 +00:00
Maxim Reznik
5a5d4d720b U224-018 Disable ASCII package as obsolescent 2021-09-01 16:34:17 +03:00
Anthony Leonardo Gracio
0cae6eb2d3 T306-021: Add memory usage monitor based on GNATCOLL.Memory
when the DEBUG.ADA_MEMORY trace is enabled, we now monitor the
memory usage consumption and dump it in the logs.

This allows to identify which parts of the program are the
biggest memory usage consumers.

The stacktrace addresses are resolved using GNAT.Symbolic.Traceback
because we link the ALS with relocatable libraries.
2020-03-25 17:26:03 +01:00