Implement DWARF Fission support in Chrome Android.
- This is a fixed version of https://chromium-review.googlesource.com/c/chromium/src/+/1975081, which was reverted because it caused a build failure for ChromeOS. - Build failure in ChromeOS is now fixed by checking for target_os in Fission-related build configs. - Modify some compiler build definitions to allow symbol_level=2 with Chrome Android 32bit, and to make the build respect use_debug_fission in those cases. - Modify "link" and "solink" tools in Android toolchain so that DWP files can be generated for builds with use_debug_fission. - Modify partitioned_shared_library template/script so that DWP files can be generated for partitioned libs when use_debug_fission is set. - Assert that ThinLTO and Fission aren't enabled at once for Android build, since this will cause Fission stuff to silently fail. Change-Id: Ia55bd893cfb73b418544e1029f57f41d5308f154 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995743 Commit-Queue: Nelson Billing <nbilling@google.com> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#734777}
Showing
Please register or sign in to comment