aboutsummaryrefslogtreecommitdiff
path: root/include/lto-symtab.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-03-19 16:55:59 +0100
committerH.J. Lu <hjl.tools@gmail.com>2020-03-19 09:16:04 -0700
commit3734bec8336f6f33927ab99460cb681035c2ca4f (patch)
treeba7cb1796f4a4222a6ca1cd47f47c0222a4deb02 /include/lto-symtab.h
parent2d07da271eee9a83a1f5c975204d7d6dfd66fe1f (diff)
downloadgdb-3734bec8336f6f33927ab99460cb681035c2ca4f.zip
gdb-3734bec8336f6f33927ab99460cb681035c2ca4f.tar.gz
gdb-3734bec8336f6f33927ab99460cb681035c2ca4f.tar.bz2
Include: Sync lto-symtab.h and plugin-api.h with GCC
2020-03-19 Martin Liska <mliska@suse.cz> * lto-symtab.h (enum gcc_plugin_symbol_type): New. (enum gcc_plugin_symbol_section_kind): Likewise. 2020-03-19 Martin Liska <mliska@suse.cz> * plugin-api.h (struct ld_plugin_symbol): Split int def into 4 char fields. (enum ld_plugin_symbol_type): New. (enum ld_plugin_symbol_section_kind): New. (enum ld_plugin_tag): Add LDPT_ADD_SYMBOLS_V2.
Diffstat (limited to 'include/lto-symtab.h')
-rw-r--r--include/lto-symtab.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/lto-symtab.h b/include/lto-symtab.h
index 0ce0de1..ef2e35f 100644
--- a/include/lto-symtab.h
+++ b/include/lto-symtab.h
@@ -38,4 +38,17 @@ enum gcc_plugin_symbol_visibility
GCCPV_HIDDEN
};
+enum gcc_plugin_symbol_type
+{
+ GCCST_UNKNOWN,
+ GCCST_FUNCTION,
+ GCCST_VARIABLE,
+};
+
+enum gcc_plugin_symbol_section_kind
+{
+ GCCSSK_DEFAULT,
+ GCCSSK_BSS
+};
+
#endif /* GCC_LTO_SYMTAB_H */