symbol-visibility
authorSimon Quigley <tsimonq2@debian.org>
Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)
committerRaspbian forward porter <root@raspbian.org>
Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)
commitbec07bbbfbcb2943f98683e91ffda2522511ea10
tree696a0b58c28c9c44ffc898769c21e50d43627535
parentc12bdbafeac30d00f83bedc4c022f4162163f8bd
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