[all-commits] [llvm/llvm-project] b720a5: [hwasan] provide a runtime flag for printing remai...

Enna1 via All-commits all-commits at lists.llvm.org
Wed Apr 19 04:28:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b720a59c119d2e1be23d315432d839066092924b
      https://github.com/llvm/llvm-project/commit/b720a59c119d2e1be23d315432d839066092924b
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_flags.inc
    M compiler-rt/lib/hwasan/hwasan_report.cpp

  Log Message:
  -----------
  [hwasan] provide a runtime flag for printing remaining threads in error report as an extra information

This patch adds a runtime flag `print_live_threads_info`, which defaults to true, controls whether or not prints remaining threads in error report as an extra information.
We(ByteDance) are in the process of enabling hwasan for our server-side applications on AArch64/Linux, these server-side applications have thousands of threads, so it is nice to have this option.

Reviewed By: fmayer

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




More information about the All-commits mailing list