diff options
author | Petr Hosek <phosek@google.com> | 2019-12-18 10:19:47 -0800 |
---|---|---|
committer | Petr Hosek <phosek@google.com> | 2019-12-20 12:47:27 -0800 |
commit | dedad08ee8e69129a1f6ac104e34960b50c94d94 (patch) | |
tree | 100fe9ad87882a9bd6047290208908c3d29269a1 /llvm/docs/CommandGuide/llvm-addr2line.rst | |
parent | ddf897fc80499ece298bc33201db6b697d2af50e (diff) | |
download | bcm5719-llvm-dedad08ee8e69129a1f6ac104e34960b50c94d94.tar.gz bcm5719-llvm-dedad08ee8e69129a1f6ac104e34960b50c94d94.zip |
[llvm-symbolizer] Support reading options from environment
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
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-addr2line.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-addr2line.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-addr2line.rst b/llvm/docs/CommandGuide/llvm-addr2line.rst index 08f1b69675d..4f5881dc8e8 100644 --- a/llvm/docs/CommandGuide/llvm-addr2line.rst +++ b/llvm/docs/CommandGuide/llvm-addr2line.rst @@ -27,6 +27,8 @@ Here are some of those differences: - Uses `--output-style=GNU`_ by default. +- Parses options from the environment variable ``LLVM_ADDR2LINE_OPTS``. + SEE ALSO -------- |