symbol-visibility
authorSimon Quigley <tsimonq2@debian.org>
Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)
committerMatthias Klose <doko@ubuntu.com>
Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)
commitf7cc8c686d0ce1c14d7481d96b5c022d2a6f6e70
tree9686ab3e25d1ec06f7a3ce63d894586bfae02761
parent501f9b858802375fef4d676a56a101cf92b32b61
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch
CMakeLists.txt
include/yaml-cpp/dll.h