DescriptionRefactor chromium's Linker class.
Preparation for creating an alternative non-crazy linker based
chromium Linker:
- Convert Linker from pure static into a singleton class.
- Split into an abstract base class containing (expected) common code,
and (for now) a single concrete subclass that implements the current
crazy linker based loading of libchrome.so.
- Update client code to handle the singleton getInstance() requirement
and class name changes.
- Modernize logging.
Later changes will introduce a second concrete Linker subclass that is
free of crazy linker code, for Android platform system linkers that
handle packed relocations, load from apk, and shared relro natively.
BUG=385553
Committed: https://crrev.com/908ec61cdcf5b82547596c930caf54f00b840955
Cr-Commit-Position: refs/heads/master@{#338182}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Tidy, fix testcase compile error. #Patch Set 3 : Rename linker_jni.cc, fix function names. #
Total comments: 22
Patch Set 4 : Update for review feedback. #
Total comments: 1
Messages
Total messages: 22 (6 generated)
|