[all-commits] [llvm/llvm-project] a92f78: Fix the run locker setting for async launches that...

jimingham via All-commits all-commits at lists.llvm.org
Tue Feb 28 17:35:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a92f7832f35c6c4792d8693e724c19802da75b36
      https://github.com/llvm/llvm-project/commit/a92f7832f35c6c4792d8693e724c19802da75b36
  Author: Jim Ingham <jingham at apple.com>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M lldb/source/API/SBFrame.cpp
    M lldb/source/API/SBTarget.cpp
    M lldb/source/Target/Target.cpp
    A lldb/test/API/python_api/run_locker/Makefile
    A lldb/test/API/python_api/run_locker/TestRunLocker.py
    A lldb/test/API/python_api/run_locker/main.c

  Log Message:
  -----------
  Fix the run locker setting for async launches that don't stop at the
initial stop.  The code was using PrivateResume when it should have
used Resume.

This was allowing expression evaluation while the target was running,
and though that was caught a litle later on, we should never have gotten
that far.  To make sure that this is caught immediately I made an error
SBValue when this happens, and test that we get this error.

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




More information about the All-commits mailing list