forked from AdaCore/gnatcoverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfg_dump.ads
39 lines (33 loc) · 2.01 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
------------------------------------------------------------------------------
-- --
-- GNATcoverage --
-- --
-- Copyright (C) 2008-2021, 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 Inputs;
with Object_Locations; use Object_Locations;
with Slocs; use Slocs;
package CFG_Dump is
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 : Inputs.Inputs_Type;
Traces_Files_List : Inputs.Inputs_Type;
Keep_Edges : Boolean);
end CFG_Dump;