commit | 4cb24b816ce84e34e37fc456bbaeea3d258d9015 | [log] [tgz] |
---|---|---|
author | Samuel Huang <huangs@chromium.org> | Thu Dec 13 01:38:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 13 01:38:40 2018 |
tree | f9e56c174e6d7aadf9bb862a02eadbedfe177db9 | |
parent | 98b9f1efa71855c361059ecbf9bb8e598bc6fda5 [diff] |
[Supersize] Add linker_map_parser_test.py and test_util.py. We plan to update linker_map_parser.py to extract more Level 3 symbols from .map files. As seen in crbug.com/892648, there are many cases that need to be handled. This CL adds linker_map_parser_test.py, which takes the identified issues from Android Chrome's .map file as test cases. Details: * Currently focus on ARM (32-bit) builds using LLD with ThinLTO. * Similar to integration_test.py, the '--update' can be specified to overwrite "golden" output files with current output. * Add test_util.py to factor common code involving usage and management of "golden" files. * The initial Parser.golden is obtained from running the test for unmodified linker_map_parser.py. This allows upcoming parser changes to be tracked. Bug: 892648 Change-Id: Ia8a4dbce4c235f2b08df2bb848409caffcedac32 Reviewed-on: https://chromium-review.googlesource.com/c/1373873 Commit-Queue: agrieve <agrieve@chromium.org> Reviewed-by: agrieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#616152}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .