forked from LineageOS/android_bionic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
5 changed files
with
52 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters