[Lldb-commits] [PATCH] D125943: [trace][intelpt] Support system-wide tracing [11] - Read warnings and perf conversion in the client

Stella Stamenova via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 15 16:43:37 PDT 2022


stella.stamenova added a comment.

In D125943#3586910 <https://reviews.llvm.org/D125943#3586910>, @wallace wrote:

> yes, i'm trying to fix it now. Thanks!

Thanks!

One more to add to the list:

  FAILED: tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/IntelPTPerThreadProcessTrace.cpp.o 
  /usr/bin/g++ -DHAVE_ROUND -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/__w/1/b/llvm/Release/tools/lldb/source/Plugins/Process/Linux -I/__w/1/llvm-project/lldb/source/Plugins/Process/Linux -I/__w/1/llvm-project/lldb/include -I/__w/1/b/llvm/Release/tools/lldb/include -I/__w/1/b/llvm/Release/include -I/__w/1/llvm-project/llvm/include -I/__w/1/llvm-project/llvm/../clang/include -I/__w/1/b/llvm/Release/tools/lldb/../clang/include -I/__w/1/llvm-project/lldb/source -I/__w/1/b/llvm/Release/tools/lldb/source -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -O3 -DNDEBUG  -fno-exceptions -UNDEBUG -std=c++14 -MD -MT tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/IntelPTPerThreadProcessTrace.cpp.o -MF tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/IntelPTPerThreadProcessTrace.cpp.o.d -o tools/lldb/source/Plugins/Process/Linux/CMakeFiles/lldbPluginProcessLinux.dir/IntelPTPerThreadProcessTrace.cpp.o -c /__w/1/llvm-project/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp
  /__w/1/llvm-project/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp: In static member function 'static llvm::Expected<std::unique_ptr<lldb_private::process_linux::IntelPTProcessTrace> > lldb_private::process_linux::IntelPTPerThreadProcessTrace::Start(const lldb_private::TraceIntelPTStartRequest&, llvm::ArrayRef<long unsigned int>)':
  /__w/1/llvm-project/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp:65:10: error: could not convert 'trace' from 'lldb_private::process_linux::IntelPTProcessTraceUP {aka std::unique_ptr<lldb_private::process_linux::IntelPTProcessTrace>}' to 'llvm::Expected<std::unique_ptr<lldb_private::process_linux::IntelPTProcessTrace> >'
     return trace;
            ^~~~~

This is on CentOS with gcc 7.3.1


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125943/new/

https://reviews.llvm.org/D125943



More information about the lldb-commits mailing list