[all-commits] [llvm/llvm-project] 53ff33: [LLDB] Convert straightforward test launches to ll...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Fri Sep 18 14:59:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53ff33af0943139d83938c582c8c154665a40716
      https://github.com/llvm/llvm-project/commit/53ff33af0943139d83938c582c8c154665a40716
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M lldb/test/API/android/platform/TestDefaultCacheLineSize.py
    M lldb/test/API/commands/process/reverse-continue/TestReverseContinueCommandNotSupported.py
    M lldb/test/API/commands/watchpoints/multiple_hits/TestMultipleHits.py
    M lldb/test/API/functionalities/postmortem/minidump/TestMiniDump.py
    M lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py
    M lldb/test/API/functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead.py
    M lldb/test/API/functionalities/process_save_core_minidump/size_mismatch/TestProcessSaveCoreMinidumpSizeMismatch.py
    M lldb/test/API/functionalities/reverse-execution/TestReverseExecutionNotSupported.py
    M lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
    M lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py
    M lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py
    M lldb/test/API/lang/c/local_variables/TestLocalVariables.py
    M lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
    M lldb/test/API/lang/objc/foundation/TestObjCMethods.py
    M lldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
    M lldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py
    M lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py
    M lldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py
    M lldb/test/API/lang/objc/objc-super/TestObjCSuper.py
    M lldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py
    M lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
    M lldb/test/API/python_api/objc_type/TestObjCType.py
    M lldb/test/API/python_api/process/TestProcessAPI.py
    M lldb/test/API/python_api/thread/TestThreadAPI.py
    M lldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py
    M lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
    M lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
    M lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
    M lldb/test/API/python_api/watchpoint/TestWatchpointRead.py

  Log Message:
  -----------
  [LLDB] Convert straightforward test launches to lldbutil (NFC) (#224404)

Replace the CreateTarget + breakpoint + LaunchSimple + stop-assert
boilerplate with the matching lldbutil.run_to_*_breakpoint helper at 35
call sites where the translation needs no extra arguments.

Besides being shorter, the helpers check that the breakpoint resolved to
at least one location and that the process stopped at that specific
breakpoint, which most of the original code did not do.

It also improves und unifies the error reporting when the launch fails.

Assisted-by: Claude



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list