[Reland] Use llvm symbolizer for stack script.

llvm symbolizer is a more efficient symbolizer than addr2line, objdump,

In this cl, I 1)created a wrapper instance to interact with
llvm symbolizer, 2)made the stack script to use llvm symbolizer instance,
and then 3)added llvm symbolizer into isolated inputs.

The reland is to fix:
1UnboundLocalError: local variable 'code_addr' referenced before assignment
2AttributeError: 'module' object has no attribute 'ToolPath'


Bug: 774267
Change-Id: Iee626065e4cfe9403f9b13dfec2dfd99e749510c
Reviewed-on: https://chromium-review.googlesource.com/834754
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Zhiling Huang <hzl@chromium.org>
Commit-Queue: Zhiling Huang <hzl@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#526304}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ed89eb8fd900951e7f7a604f460d1b1c2ea3c526
1 file changed
tree: 61d01bff44898efbd645a51ca95f3f461d308d2d
  1. google/
  2. llvm_symbolizer.py