symbol-visibility
authorSimon Quigley <tsimonq2@debian.org>
Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)
commit2a691faf203b2a40e7c8b7e900da2e535344989e
tree98c9414c742dbf4984e189bd7921fc4bfb53a7d3
parentf51f4f09231858e9b3108ef393d415340344171e
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