[all-commits] [llvm/llvm-project] 50f936: Add LoadTraceFromFile to SBDebugger and SBTrace

Jakob Johnson via All-commits all-commits at lists.llvm.org
Mon Jun 20 12:06:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50f9367960725b450a9ef779d73e32a35031ee70
      https://github.com/llvm/llvm-project/commit/50f9367960725b450a9ef779d73e32a35031ee70
  Author: Jakob Johnson <johnsonjakob99 at gmail.com>
  Date:   2022-06-20 (Mon, 20 Jun 2022)

  Changed paths:
    M lldb/bindings/interface/SBDebugger.i
    M lldb/include/lldb/API/SBDebugger.h
    M lldb/include/lldb/API/SBFileSpec.h
    M lldb/include/lldb/API/SBTrace.h
    M lldb/include/lldb/Target/Trace.h
    M lldb/packages/Python/lldbsuite/test/tools/intelpt/intelpt_testcase.py
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/API/SBTrace.cpp
    M lldb/source/Commands/CommandObjectTrace.cpp
    M lldb/source/Target/Trace.cpp
    M lldb/test/API/commands/trace/TestTraceLoad.py

  Log Message:
  -----------
  Add LoadTraceFromFile to SBDebugger and SBTrace

Add trace load functionality to SBDebugger via the `LoadTraceFromFile` method.
Update intelpt test case class to have `testTraceLoad` method so we can take advantage of
the testApiAndSB decorator to test both the CLI and SB without duplicating code.

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




More information about the All-commits mailing list