diff options
author | Ryan Prichard <rprichard@google.com> | 2020-01-02 14:59:11 -0800 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2020-01-06 16:06:37 -0800 |
commit | 0e12ccedd4710b13297c496f42e2ec53dd456957 (patch) | |
tree | a08def726bd1e07215ecaf141b69bf81b1cf4460 /linker/linker_debug.cpp | |
parent | ae320cde079439acac22c0d1f28c2737467a9c83 (diff) |
Validate defined versions in prelink_image
Validate the list of defined versions explicitly, during library
prelinking, rather than implicitly as part of constructing the
VersionTracker in soinfo::link_image.
Doing the validation upfront allows removing the symbol lookup failure
code paths, which only happen on a library with invalid version
information.
Helps on the walleye 64-bit linker relocation benchmark (146.2ms ->
131.6ms)
Bug: none
Test: bionic unit tests
Change-Id: Id17508aba3af2863909f0526897c4277419322b7
Diffstat (limited to 'linker/linker_debug.cpp')
0 files changed, 0 insertions, 0 deletions