[all-commits] [llvm/llvm-project] b8e0b5: Threads which hit a breakpoint but fail the condit...

jimingham via All-commits all-commits at lists.llvm.org
Thu Jun 30 11:44:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8e0b5a071600cb39d938470bd20d845013384ce
      https://github.com/llvm/llvm-project/commit/b8e0b5a071600cb39d938470bd20d845013384ce
  Author: Jim Ingham <jingham at apple.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M lldb/source/Target/StopInfo.cpp
    A lldb/test/API/functionalities/breakpoint/two_hits_one_actual/Makefile
    A lldb/test/API/functionalities/breakpoint/two_hits_one_actual/TestTwoHitsOneActual.py
    A lldb/test/API/functionalities/breakpoint/two_hits_one_actual/main.cpp

  Log Message:
  -----------
  Threads which hit a breakpoint but fail the condition are considered
not to be hit.  But another thread might be hit at the same time and
actually stop.  So we have to be sure to switch the first thread's
stop info to eStopReasonNone or we'll report a hit when the condition
failed, which is confusing.

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




More information about the All-commits mailing list