diff options
| author | 2018-10-11 12:28:34 -0700 | |
|---|---|---|
| committer | 2018-11-13 09:24:44 -0800 | |
| commit | 202f6d15f06ae2cee3b233b90d5120e82b1ce054 (patch) | |
| tree | dd1b10b91e1171b04cebde367427d5e367e0c62f /vulkan/libvulkan/api.cpp | |
| parent | e73b4803bebe3fb07434e1b81438b89ca139e412 (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