xref: /dflybsd-src/contrib/binutils-2.34/gprof/sym_ids.h (revision b52ef7118d1621abed722c5bbbd542210290ecef)
1*fae548d3Szrj /* sym_ids.h
2*fae548d3Szrj 
3*fae548d3Szrj    Copyright (C) 2000-2020 Free Software Foundation, Inc.
4*fae548d3Szrj 
5*fae548d3Szrj    This file is part of GNU Binutils.
6*fae548d3Szrj 
7*fae548d3Szrj    This program is free software; you can redistribute it and/or modify
8*fae548d3Szrj    it under the terms of the GNU General Public License as published by
9*fae548d3Szrj    the Free Software Foundation; either version 3 of the License, or
10*fae548d3Szrj    (at your option) any later version.
11*fae548d3Szrj 
12*fae548d3Szrj    This program is distributed in the hope that it will be useful,
13*fae548d3Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
14*fae548d3Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*fae548d3Szrj    GNU General Public License for more details.
16*fae548d3Szrj 
17*fae548d3Szrj    You should have received a copy of the GNU General Public License
18*fae548d3Szrj    along with this program; if not, write to the Free Software
19*fae548d3Szrj    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20*fae548d3Szrj    MA 02110-1301, USA.  */
21*fae548d3Szrj 
22*fae548d3Szrj #ifndef sym_ids_h
23*fae548d3Szrj #define sym_ids_h
24*fae548d3Szrj 
25*fae548d3Szrj typedef enum
26*fae548d3Szrj   {
27*fae548d3Szrj     INCL_GRAPH = 0, EXCL_GRAPH,
28*fae548d3Szrj     INCL_ARCS, EXCL_ARCS,
29*fae548d3Szrj     INCL_FLAT, EXCL_FLAT,
30*fae548d3Szrj     INCL_TIME, EXCL_TIME,
31*fae548d3Szrj     INCL_ANNO, EXCL_ANNO,
32*fae548d3Szrj     INCL_EXEC, EXCL_EXEC,
33*fae548d3Szrj     NUM_TABLES
34*fae548d3Szrj   }
35*fae548d3Szrj Table_Id;
36*fae548d3Szrj 
37*fae548d3Szrj extern Sym_Table syms[NUM_TABLES];
38*fae548d3Szrj 
39*fae548d3Szrj extern void sym_id_add (const char *, Table_Id);
40*fae548d3Szrj extern void sym_id_parse (void);
41*fae548d3Szrj extern bfd_boolean sym_id_arc_is_present (Sym_Table *, Sym *, Sym *);
42*fae548d3Szrj 
43*fae548d3Szrj #endif /* sym_ids_h */
44