mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-18 15:20:45 +00:00
Add default suppression specifications for C++ binaries
For C++ libraries that are not libstdc++ or boost, this patch defines default suppression specifications that drop function or variables that we know are from namespaces that are not meant to be part of the API. By doing so, we also decrease the memory needed to process the binaries. * default.abignore: Add suppressions for non-libstdc++ and non-boost C++ libraries. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
67ca48da29
commit
6c6a8341dd
@ -78,15 +78,60 @@
|
||||
###########################################################
|
||||
|
||||
[suppress_function]
|
||||
soname_regexp = libwebkitgtk-1\\.0\\.so.*
|
||||
soname_regexp = libwebkit2?gtk-.*\\.so.*
|
||||
name_not_regexp = ^webkit_.*
|
||||
drop = true
|
||||
|
||||
[suppress_function]
|
||||
soname_regexp = libwebkit2gtk-4\\.0\\.so.*
|
||||
name_not_regexp = ^webkit_.*
|
||||
[suppress_variable]
|
||||
soname_regexp = libwebkit2?gtk-.*\\.so.*
|
||||
name_regexp = (^std::.*|WebCore::.*|WebKit::.*)
|
||||
drop = true
|
||||
|
||||
[suppress_type]
|
||||
soname_regexp = libwebkit2?gtk-.*\\.so.*
|
||||
name_regexp = (^std::.*|WebCore::.*|WebKit::.*)
|
||||
drop = true
|
||||
|
||||
#######################################################
|
||||
# End of webkitgtk suppression specifications
|
||||
#######################################################
|
||||
#######################################################
|
||||
|
||||
########################################################
|
||||
# Suppression specification for C++ libraries
|
||||
# that are not libstdc++.so
|
||||
########################################################
|
||||
|
||||
[suppress_function]
|
||||
soname_not_regexp = libstdc\\+\\+\\.so.*
|
||||
name_regexp = std::.*
|
||||
drop = true
|
||||
|
||||
[suppress_variable]
|
||||
soname_not_regexp = libstdc\\+\\+\\.so.*
|
||||
name_regexp = std::.*
|
||||
drop = true
|
||||
|
||||
########################################################
|
||||
# End of suppression specification for C++ libraries
|
||||
# that are not libstdc++.so
|
||||
########################################################
|
||||
|
||||
########################################################
|
||||
# Suppression specification for C++ libraries
|
||||
# that are not Boost.
|
||||
########################################################
|
||||
|
||||
[suppress_function]
|
||||
soname_not_regexp = libboost_.*\\.so.*
|
||||
name_regexp = boost::.*
|
||||
drop = true
|
||||
|
||||
[suppress_variable]
|
||||
soname_not_regexp = libboost_.*\\.so.*
|
||||
name_regexp = boost::.*
|
||||
drop = true
|
||||
|
||||
########################################################
|
||||
# End of suppression specification for C++ libraries
|
||||
# that are not Boost.
|
||||
########################################################
|
Loading…
Reference in New Issue
Block a user