Orderfile: Use linker start of text for offset base.
The instrumentation code outputs offsets relative to the start of text as defined by a special symbol (linker_script_start_of_text). This currently corresponds to the first symbol appearing in text, which also happens to be the first SymbolInfo produced by symbol_extractor. To protect against changes to the symbol_extractor this change uses the special symbol for the dump offset base rather than the lowest SymbolInfo offset seen. Bug: 893981 Change-Id: Ia3d265ae56e6a3b7362abf177c9cbe8d2eda36fb Reviewed-on: https://chromium-review.googlesource.com/c/1325989Reviewed-by:Egor Pasko <pasko@chromium.org> Commit-Queue: Matthew Cary <mattcary@chromium.org> Cr-Commit-Position: refs/heads/master@{#606454}
Showing
Please register or sign in to comment