[all-commits] [llvm/llvm-project] b7d525: [trace][intelpt] fix some test failures

walter erquinigo via All-commits all-commits at lists.llvm.org
Fri Mar 18 10:35:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7d525ad38a9378c1669a22b9f92e5548db9b409
      https://github.com/llvm/llvm-project/commit/b7d525ad38a9378c1669a22b9f92e5548db9b409
  Author: Walter Erquinigo <wallace at fb.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Commands/Options.td
    M lldb/test/API/commands/trace/TestTraceDumpInfo.py
    M lldb/test/API/commands/trace/TestTraceDumpInstructions.py
    M lldb/test/API/commands/trace/TestTraceExport.py
    M lldb/test/API/commands/trace/TestTraceSave.py

  Log Message:
  -----------
  [trace][intelpt] fix some test failures

Minor fixes needed and now `./bin/lldb-dotest -p TestTrace` passes
correctly.

- There was an incorrect iteration.
- Some error messages changed.
- The way repeat commands are handled changed a bit, so I had to create
a new --continue arg in "thread trace dump instructions" to handle this
correctly.

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




More information about the All-commits mailing list