goma_link: handle function sections and data sections
Local ThinLTO defaults to emitting data objects and functions in dedicated sections to facilitate dead stripping. This change adds the same behavior to the distributed ThinLTO scripts. BUG=1078453 TEST=tools/clang/scripts/goma_link_unit_tests.py; \ tools/clang/scripts/goma_link_integration_tests.py; \ check that the expected options were passed Change-Id: Ie5e442bf20f886b899a80a8443fce47a709c006f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231034 Commit-Queue: Bob Haarman <inglorion@chromium.org> Reviewed-by:Tiancong Wang <tcwang@google.com> Cr-Commit-Position: refs/heads/master@{#775311}
Showing
Please register or sign in to comment