summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-symbolizer/options-from-env.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-symbolizer] Prefix invocations in test with envPetr Hosek2019-12-201-2/+2
| | | | | This addresses an issue introduced in dedad08 and is needed to make sure this test works properly on Windows.
* [llvm-symbolizer] Support reading options from environmentPetr Hosek2019-12-201-0/+4
llvm-symbolizer is used by sanitizers to symbolize errors discovered by sanitizer, but there's no way to pass options to llvm-symbolizer since the tool is invoked directly by the sanitizer runtime. Therefore, we don't have a way to pass options needed to find debug symbols such as -dsym-hint or -debug-file-directory. This change enables reading options from the LLVM_SYMBOLIZER_OPTS in addition to command line which can be used to pass those additional options to llvm-symbolizer invocations made by sanitizer runtime. Differential Revision: https://reviews.llvm.org/D71668
OpenPOWER on IntegriCloud