[Mesa-dev] [PATCH 0/6] anv: Symbol visibility fixes et al
emil.l.velikov at gmail.com
Wed Jul 27 13:16:00 UTC 2016
On 27 July 2016 at 14:02, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hi all,
> A small series which covers the following:
> - Don't build the internal validate layer for release builds. The only
> validate function uses only asserts thus is no-op, yet cannot the
> optimiser cannot drop the ~10KiB of unused code.
> - Hide all* the symbols but vk_icdGetInstanceProcAddr from the export
> list, (implied with v1 of the loader and mandatory with v2)
> - Link with -Bsymbolic for safe measure (mentioned/suggested in v2)
> - Remove VK_DEBUG_MARKER_EXT implementation - empty stubes, and
> extension isn't mentioned in the json.
> This saves us ~60K in binary size and a range of issues - both build and
> runtime. Tested OK against Dota2 (with overlay disabled).
Forgot to mention - those patches are not crucial material for stable.
I'll let people weight in for/against including them.
More information about the mesa-dev