DescriptionImprove symbol_extractor.CreateNameToSymbolInfo handling of duplicate symbols.
If a symbol appears more than once in the binary, return the lowest offset for
that symbol, rather than the last one. Also warn about duplicated symbols.
There are a couple hundred in libchrome.so. Further investigation is needed to
determine why this is even possible, but in the mean time this should fix the
orderfile bot redness.
Committed: https://crrev.com/70f5220a69a64377fb9d27a72941941d7ea7fa2c
Cr-Commit-Position: refs/heads/master@{#317592}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Add a unit test and address comments. #Patch Set 3 : Add a todo #
Total comments: 2
Patch Set 4 : Fix typo. #
Messages
Total messages: 19 (5 generated)
|