[Sanitizer Common] Show command used to launch symbolizer process at high verbosity...
authorDan Liew <dan@su-root.co.uk>
Tue, 7 Apr 2020 00:25:47 +0000 (17:25 -0700)
committerDan Liew <dan@su-root.co.uk>
Mon, 13 Apr 2020 20:36:29 +0000 (13:36 -0700)
commit2169568d9f535a5ffa921d7ec0869c0f8b18f6ac
treeaa3397f717c80deaec534d37c1645739286fe00f
parentbb0e6cc1dd13997e59f3178e27b57f54c11f7f89
[Sanitizer Common] Show command used to launch symbolizer process at high verbosity level.

Summary:
In preparation for writing a test for a bug fix we need to be able to
see the command used to launch the symbolizer process. This feature
will likely be useful for debugging how the Sanitizers use the
symbolizer in general.

This patch causes the command line used to launch the process to be
shown at verbosity level 3 and higher.

A small test case is included.

Reviewers: kubamracek, yln, vitalybuka, eugenis, kcc

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D77622
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
compiler-rt/test/sanitizer_common/TestCases/symbolize_debug_argv.cpp [new file with mode: 0644]