[all-commits] [llvm/llvm-project] 9ba623: [asan] Add %d variable to external_symbolizer_path...

Amy Huang via All-commits all-commits at lists.llvm.org
Thu Feb 4 15:45:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ba623c655e9696fa36496fa5962a2da0a9f37ab
      https://github.com/llvm/llvm-project/commit/9ba623c655e9696fa36496fa5962a2da0a9f37ab
  Author: Amy Huang <akhuang at google.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_flags.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cpp
    A compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp

  Log Message:
  -----------
  [asan] Add %d variable to external_symbolizer_path option, so that user can specify paths relative to the location of the binary.

We want way to set a path to llvm-symbolizer that isn't relative
to the current working directory; this change adds a variable that
expands to the path relative to the current binary.
This approach came from comments in https://reviews.llvm.org/D93070

Differential Revision: https://reviews.llvm.org/D94563




More information about the All-commits mailing list