[all-commits] [llvm/llvm-project] 8e6b31: [LLDB] Move Trace-specific classes into separate l...

Alex via All-commits all-commits at lists.llvm.org
Wed Jul 21 13:28:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e6b31c3952b366fc3fa0da8e3df7fc09fa65b05
      https://github.com/llvm/llvm-project/commit/8e6b31c3952b366fc3fa0da8e3df7fc09fa65b05
  Author: Alex Langford <apl at fb.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    R lldb/include/lldb/Target/ThreadPostMortemTrace.h
    R lldb/include/lldb/Target/TraceSessionFileParser.h
    M lldb/include/lldb/lldb-forward.h
    M lldb/source/Plugins/Trace/CMakeLists.txt
    A lldb/source/Plugins/Trace/common/CMakeLists.txt
    A lldb/source/Plugins/Trace/common/ThreadPostMortemTrace.cpp
    A lldb/source/Plugins/Trace/common/ThreadPostMortemTrace.h
    A lldb/source/Plugins/Trace/common/TraceSessionFileParser.cpp
    A lldb/source/Plugins/Trace/common/TraceSessionFileParser.h
    M lldb/source/Plugins/Trace/intel-pt/CMakeLists.txt
    M lldb/source/Target/CMakeLists.txt
    R lldb/source/Target/ThreadPostMortemTrace.cpp
    M lldb/source/Target/Trace.cpp
    R lldb/source/Target/TraceSessionFileParser.cpp

  Log Message:
  -----------
  [LLDB] Move Trace-specific classes into separate library

These two classes, TraceSessionFileParser and ThreadPostMortemTrace,
seem to be useful primarily for tracing. Currently it looks like
intel-pt is the sole user of these, but that other tracing plugins could
be written in the future that take advantage of these. Unfortunately
with them in Target, there is a dependency on PluginProcessUtility. I'd
like to sever that dependency, so I moved them into a `TraceCommon`
plugin.

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




More information about the All-commits mailing list