Add --sysroot option to asan_symbolize.py

This is equivalent to the upstream "-s" option. It just prepends a string
to path lookups in case paths are from a remote device for which we have
a local symbols tree.

Bug: 1040148

Change-Id: Icfa3232b9aa8fefa7274f26fdb0c123ceeb3f96d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992008
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Michael Spang <spang@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#729895}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0eae1bdd3a1c6c07d5c9581ef6b991b78ea5c4c3
1 file changed
tree: 44fcfab45af17780394358bc638bbbd59392af0f
  1. asan/
  2. OWNERS
  3. README