| 1 |
# Linker script for libgdiagnostics.so |
| 2 |
# Copyright (C) 2023-2025 Free Software Foundation, Inc. |
| 3 |
# Contributed by David Malcolm <[email protected]>. |
| 4 |
# |
| 5 |
# This file is part of GCC. |
| 6 |
# |
| 7 |
# GCC is free software; you can redistribute it and/or modify it |
| 8 |
# under the terms of the GNU General Public License as published by |
| 9 |
# the Free Software Foundation; either version 3, or (at your option) |
| 10 |
# any later version. |
| 11 |
# |
| 12 |
# GCC is distributed in the hope that it will be useful, but |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
# General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License |
| 18 |
# along with GCC; see the file COPYING3. If not see |
| 19 |
# <http://www.gnu.org/licenses/>. */ |
| 20 |
|
| 21 |
# The initial release of the library. |
| 22 |
LIBGDIAGNOSTICS_ABI_0 |
| 23 |
{ |
| 24 |
global: |
| 25 |
# Keep this list in order of decls in header file. |
| 26 |
diagnostic_manager_new; |
| 27 |
diagnostic_manager_release; |
| 28 |
diagnostic_manager_set_tool_name; |
| 29 |
diagnostic_manager_set_full_name; |
| 30 |
diagnostic_manager_set_version_string; |
| 31 |
diagnostic_manager_set_version_url; |
| 32 |
diagnostic_manager_add_text_sink; |
| 33 |
diagnostic_text_sink_set_source_printing_enabled; |
| 34 |
diagnostic_text_sink_set_colorize; |
| 35 |
diagnostic_text_sink_set_labelled_source_colorization_enabled; |
| 36 |
diagnostic_manager_add_sarif_sink; |
| 37 |
diagnostic_manager_write_patch; |
| 38 |
diagnostic_manager_new_file; |
| 39 |
diagnostic_file_set_buffered_content; |
| 40 |
diagnostic_manager_debug_dump_file; |
| 41 |
diagnostic_manager_new_location_from_file_and_line; |
| 42 |
diagnostic_manager_new_location_from_file_line_column; |
| 43 |
diagnostic_manager_new_location_from_range; |
| 44 |
diagnostic_manager_debug_dump_location; |
| 45 |
diagnostic_manager_new_logical_location; |
| 46 |
diagnostic_manager_debug_dump_logical_location; |
| 47 |
diagnostic_manager_begin_group; |
| 48 |
diagnostic_manager_end_group; |
| 49 |
diagnostic_begin; |
| 50 |
diagnostic_set_cwe; |
| 51 |
diagnostic_add_rule; |
| 52 |
diagnostic_set_location; |
| 53 |
diagnostic_set_location_with_label; |
| 54 |
diagnostic_add_location; |
| 55 |
diagnostic_add_location_with_label; |
| 56 |
diagnostic_set_logical_location; |
| 57 |
diagnostic_add_fix_it_hint_insert_before; |
| 58 |
diagnostic_add_fix_it_hint_insert_after; |
| 59 |
diagnostic_add_fix_it_hint_replace; |
| 60 |
diagnostic_add_fix_it_hint_delete; |
| 61 |
|
| 62 |
diagnostic_add_execution_path; |
| 63 |
diagnostic_manager_new_execution_path; |
| 64 |
diagnostic_take_execution_path; |
| 65 |
diagnostic_execution_path_release; |
| 66 |
diagnostic_execution_path_add_event; |
| 67 |
diagnostic_execution_path_add_event_va; |
| 68 |
|
| 69 |
diagnostic_finish; |
| 70 |
diagnostic_finish_va; |
| 71 |
|
| 72 |
diagnostic_physical_location_get_file; |
| 73 |
|
| 74 |
local: *; |
| 75 |
}; |