[all-commits] [llvm/llvm-project] f154f1: [sanitizer] Adjust code path of ChooseExternalSymb...

Wu Yingcong via All-commits all-commits at lists.llvm.org
Tue Jun 13 14:51:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f154f10887e908fa8fe3282c3cc0735717a8e97d
      https://github.com/llvm/llvm-project/commit/f154f10887e908fa8fe3282c3cc0735717a8e97d
  Author: Wu, Yingcong <yingcong.wu at intel.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cpp

  Log Message:
  -----------
  [sanitizer] Adjust code path of ChooseExternalSymbolizer for Windows

If `path` is null, `user_path` must also be null. With the current code path, the message of explicitly disabling symbolizer will never be reported. This patch adjusts the if-else structure to make that message can be reported.

Reviewed By: cchen15, MaskRay

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




More information about the All-commits mailing list