[all-commits] [llvm/llvm-project] 852a4b: Change the Sanitizer report breakpoint callbacks t...

jimingham via All-commits all-commits at lists.llvm.org
Mon Oct 3 18:10:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 852a4bdb25d145884f61cd812e66611e65fd2dd9
      https://github.com/llvm/llvm-project/commit/852a4bdb25d145884f61cd812e66611e65fd2dd9
  Author: Jim Ingham <jingham at apple.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M lldb/include/lldb/Breakpoint/Breakpoint.h
    M lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
    M lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
    M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
    M lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
    M lldb/test/API/functionalities/ubsan/basic/main.c

  Log Message:
  -----------
  Change the Sanitizer report breakpoint callbacks to asynchronous.

The synchronous callbacks are not intended to start the target running
during the callback, and doing so is flakey.  This patch converts them
to being regular async callbacks, and adds some testing for sequential
reports that have caused problems in the field.

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




More information about the All-commits mailing list