Use whitelist to check static initializers
This CL does two things: 1. Replace the SI count check with a whitelist check. 2. Add InstrProfilingRuntime.cc to the whitelist because coverage build needs it and it is ONLY used on coverage build. This change only applies to Linux platform, and in order to make Mac platform work, a separate CL is required to change //tools/mac/dump-static-initializers.py to have the same output format as //tools/linux/dump-static-initializers.py. Bug: 956591 Change-Id: I54119676bea59a8f1e6fdba470bbeac32b121c3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1653319Reviewed-by:Nico Weber <thakis@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Yuke Liao <liaoyuke@chromium.org> Cr-Commit-Position: refs/heads/master@{#668535}
Showing
Please register or sign in to comment