[all-commits] [llvm/llvm-project] 9bab35: [trace][intelpt] Update TraceIntelPTBundleSaver.cp...

Jakob Johnson via All-commits all-commits at lists.llvm.org
Mon Aug 1 11:52:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bab358e39225a657be829962d7f9532b492ca93
      https://github.com/llvm/llvm-project/commit/9bab358e39225a657be829962d7f9532b492ca93
  Author: Jakob Johnson <johnsonjakob99 at gmail.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp

  Log Message:
  -----------
  [trace][intelpt] Update TraceIntelPTBundleSaver.cpp to accommodate FileSpec API changes

D130309 introduced changes to the FileSpec API which broke usages of
`GetCString()` in TraceIntelPTBundleSaver.cpp. This diff replaces usages
of `GetCString()` with `GetPath().c_str()` as suggested by D130309.

Test Plan:
Building with the trace plug-in now succeeds

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




More information about the All-commits mailing list