summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Marissa Wall <marissaw@google.com> 2018-10-11 12:28:34 -0700
committer Marissa Wall <marissaw@google.com> 2018-11-13 09:24:44 -0800
commit202f6d15f06ae2cee3b233b90d5120e82b1ce054 (patch)
treedd1b10b91e1171b04cebde367427d5e367e0c62f /vulkan/libvulkan/api.cpp
parente73b4803bebe3fb07434e1b81438b89ca139e412 (diff)
clang: update IBinder to be lto_visibility_public
The clang optimization "-fwhole-program-vtables" can cause problems with IBinder. In SurfaceFlinger, the optimization causes BpBinder objects to act like IBinders. This results in problems when trying to linkToDeath. IBinder's linkToDeath function is called instead of BpBinder's linkToDeath. When IBinder is annotated for clang with "[[clang::lto_visibility_public]]", the proper linkToDeath function is called. Bug: 119259043 Test: Transaction_test Change-Id: If168eacb0f9a6716d07bafc9b35834cc7db869e1
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions