[all-commits] [llvm/llvm-project] bcf197: [intelpt] Refactoring instruction decoding for fle...

Alisamar Husain via All-commits all-commits at lists.llvm.org
Sat Mar 26 11:36:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcf1978a871535e297c965195afe467134164413
      https://github.com/llvm/llvm-project/commit/bcf1978a871535e297c965195afe467134164413
  Author: Alisamar Husain <zrthxn at gmail.com>
  Date:   2022-03-26 (Sat, 26 Mar 2022)

  Changed paths:
    M lldb/include/lldb/Target/TraceCursor.h
    M lldb/source/Plugins/Trace/intel-pt/DecodedThread.cpp
    M lldb/source/Plugins/Trace/intel-pt/DecodedThread.h
    M lldb/source/Plugins/Trace/intel-pt/IntelPTDecoder.cpp
    M lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.cpp
    M lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.h
    M lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
    M lldb/source/Target/TraceInstructionDumper.cpp
    M lldb/test/API/commands/trace/TestTraceDumpInfo.py
    M lldb/test/API/commands/trace/TestTraceLoad.py

  Log Message:
  -----------
  [intelpt] Refactoring instruction decoding for flexibility

Now the decoded thread has Append methods that provide more flexibility
in terms of the underlying data structure that represents the
instructions. In this case, we are able to represent the sporadic errors
as map and thus reduce the size of each instruction.

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




More information about the All-commits mailing list