-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcfg_dump.ads
44 lines (37 loc) · 2.19 KB
/
cfg_dump.ads
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
------------------------------------------------------------------------------
-- --
-- GNATcoverage --
-- --
-- Copyright (C) 2008-2024, AdaCore --
-- --
-- GNATcoverage is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the Free --
-- Software Foundation; either version 3, or (at your option) any later --
-- version. This software is distributed in the hope that it will be useful --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- --
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public --
-- License for more details. You should have received a copy of the GNU --
-- General Public License distributed with this software; see file --
-- COPYING3. If not, go to http://www.gnu.org/licenses for a complete copy --
-- of the license. --
------------------------------------------------------------------------------
with GNAT.Strings; use GNAT.Strings;
with Logging;
with Object_Locations; use Object_Locations;
with Slocs; use Slocs;
with Strings; use Strings;
with Traces_Files; use Traces_Files;
package CFG_Dump is
CFG_Dump_Trace : constant Logging.GNATCOLL_Trace :=
Logging.Create_Trace ("CFG_DUMP");
type Output_Format is (None, Dot, SVG, PDF, PNG);
-- Format used to output the CFG. None stands for "output the Dot graph
-- without passing it to dot(1)".
procedure Dump (Exec_Path : String;
Locations : User_Locations;
Output : String_Access;
Format : Output_Format;
SCO_Files_List : String_Vectors.Vector;
Traces_Files_List : Requested_Trace_Vectors.Vector;
Keep_Edges : Boolean);
end CFG_Dump;