aboutsummaryrefslogtreecommitdiff
path: root/gcc/libdiagnostics.map
blob: cc32b76d016a7329fdf2b35a95542c22723c7bdb (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Linker script for libdiagnostics.so
#   Copyright (C) 2023-2024 Free Software Foundation, Inc.
#   Contributed by David Malcolm <dmalcolm@redhat.com>.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GCC is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY 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
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.  */

# The initial release of the library.
LIBDIAGNOSTICS_ABI_0
{
  global:
    # Keep this list in order of decls in header file.
    diagnostic_manager_new;
    diagnostic_manager_release;
    diagnostic_manager_set_tool_name;
    diagnostic_manager_set_full_name;
    diagnostic_manager_set_version_string;
    diagnostic_manager_set_version_url;
    diagnostic_manager_add_text_sink;
    diagnostic_text_sink_set_source_printing_enabled;
    diagnostic_text_sink_set_colorize;
    diagnostic_text_sink_set_labelled_source_colorization_enabled;
    diagnostic_manager_add_sarif_sink;
    diagnostic_manager_write_patch;
    diagnostic_manager_new_file;
    diagnostic_manager_debug_dump_file;
    diagnostic_manager_new_location_from_file_and_line;
    diagnostic_manager_new_location_from_file_line_column;
    diagnostic_manager_new_location_from_range;
    diagnostic_manager_debug_dump_location;
    diagnostic_manager_new_logical_location;
    diagnostic_manager_debug_dump_logical_location;
    diagnostic_manager_begin_group;
    diagnostic_manager_end_group;
    diagnostic_begin;
    diagnostic_set_cwe;
    diagnostic_add_rule;
    diagnostic_set_location;
    diagnostic_set_location_with_label;
    diagnostic_add_location;
    diagnostic_add_location_with_label;
    diagnostic_set_logical_location;
    diagnostic_add_fix_it_hint_insert_before;
    diagnostic_add_fix_it_hint_insert_after;
    diagnostic_add_fix_it_hint_replace;
    diagnostic_add_fix_it_hint_delete;

    diagnostic_add_execution_path;
    diagnostic_manager_new_execution_path;
    diagnostic_take_execution_path;
    diagnostic_execution_path_release;
    diagnostic_execution_path_add_event;
    diagnostic_execution_path_add_event_va;

    diagnostic_finish;
    diagnostic_finish_va;

  local: *;
};