Migrate to llvm-objdump and llvm-symbolizer

Android NDK will no longer support tools based on GNU toolchain.

Hence migrate ASan symbolization for Android to LLVM base tools
like llvm-symbolizer and llvm-objdump.

Bug: 1273402
Cq-Include-Trybots: luci.chromium.try:linux_chromium_asan_rel_ng,win-asan,mac_chromium_asan_rel_ng,android-asan
Change-Id: Icc0c5f8e64e1bb05d49f347c3316850a0ff83e55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3303875
Reviewed-by: Andrew Grieve <[email protected]>
Reviewed-by: Hans Wennborg <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Commit-Queue: Jonathan Wright <[email protected]>
Cr-Commit-Position: refs/heads/main@{#961488}
NOKEYCHECK=True
GitOrigin-RevId: ffa736ce5f5d7b018b768c29c0cc1ff35152393a
2 files changed
tree: e9ed6415521827dbd85d2b6cdc86718af9198832
  1. google/
  2. .style.yapf
  3. llvm_objdump.py
  4. llvm_symbolizer.py
  5. OWNERS
  6. README.md
README.md

//tools/python

This directory is meant to contain Python code that is:

  1. Not platform-specific (e.g. //tools/android/python_utils).
  2. Useful to multiple other tools.

All Python code that is used by GN actions or templates within //build must live under //build, since that directory cannot have deps outside of it. However, code here can be used by GN actions or templates that live outside of //build.

When adding code to this directory, or when adding a dep onto code that lives in this directory, please consider whether or not duplicating the code would actually a better choice. Code re-use is helpful, but dependencies also come with a cost, especially when it comes to being able to test changes to shared code.