[sanitizer-common] Force pickup of llvm-symbolizer from new binaries.
authorMitch Phillips <31459023+hctim@users.noreply.github.com>
Wed, 16 Dec 2020 14:36:22 +0000 (06:36 -0800)
committerMitch Phillips <31459023+hctim@users.noreply.github.com>
Wed, 16 Dec 2020 14:36:26 +0000 (06:36 -0800)
commit66ee0d3d84a6ea04e895249aef2ea8a812664728
treeaed95a3f5a86379593880b2a5c8a00ab10969747
parenta1e1dcabe4fb1f24401f3153409583fe133ffd46
[sanitizer-common] Force pickup of llvm-symbolizer from new binaries.

It's possible currently that the sanitizer runtimes when testing grab
the path to the symbolizer through *SAN_SYMBOLIZER_PATH=...

This can be polluted by things like Android's setup script. This patch
forces external_symbolizer_path=$new_build_out_dir/llvm-symbolizer when
%env_tool_options is used.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D93352
compiler-rt/test/sanitizer_common/lit.common.cfg.py
compiler-rt/test/sanitizer_common/lit.site.cfg.py.in