Commit 05b95f63 by Tristan Gingold Committed by Arnaud Charlet

* s-trasym.ads, s-trasym.adb (Enable_Cache): New.

From-SVN: r247471
parent 6fdc25c4
2017-05-02 Tristan Gingold <gingold@adacore.com>
* s-trasym.ads, s-trasym.adb (Enable_Cache): New.
2017-05-02 Ed Schonberg <schonberg@adacore.com> 2017-05-02 Ed Schonberg <schonberg@adacore.com>
* sem_ch4.adb (Find_Equality_Types, Try_One_Interp): The same relaxed * sem_ch4.adb (Find_Equality_Types, Try_One_Interp): The same relaxed
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 1999-2015, AdaCore -- -- Copyright (C) 1999-2017, AdaCore --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -83,4 +83,13 @@ package body System.Traceback.Symbolic is ...@@ -83,4 +83,13 @@ package body System.Traceback.Symbolic is
return Symbolic_Traceback (Ada.Exceptions.Traceback.Tracebacks (E)); return Symbolic_Traceback (Ada.Exceptions.Traceback.Tracebacks (E));
end Symbolic_Traceback; end Symbolic_Traceback;
------------------
-- Enable_Cache --
------------------
procedure Enable_Cache (Include_Modules : Boolean := False) is
begin
null;
end Enable_Cache;
end System.Traceback.Symbolic; end System.Traceback.Symbolic;
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1999-2015, AdaCore -- -- Copyright (C) 1999-2017, AdaCore --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -82,4 +82,10 @@ package System.Traceback.Symbolic is ...@@ -82,4 +82,10 @@ package System.Traceback.Symbolic is
(E : Ada.Exceptions.Exception_Occurrence) return String; (E : Ada.Exceptions.Exception_Occurrence) return String;
-- Build string containing symbolic traceback of given exception occurrence -- Build string containing symbolic traceback of given exception occurrence
procedure Enable_Cache (Include_Modules : Boolean := False);
-- Read symbolic information from binary files and cache them in memory.
-- This will speed up the above functions but will require more memory.
-- If Include_Modules is true, shared modules (or DLL) will also be cached.
-- This procedure may do nothing if not supported.
end System.Traceback.Symbolic; end System.Traceback.Symbolic;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment