[Lldb-commits] [lldb] [lldb] Fix Intel PT plugin compile errors (PR #77252)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 8 08:03:20 PST 2024


================
@@ -108,8 +108,8 @@ TraceIntelPTBundleLoader::CreateEmptyProcess(lldb::pid_t pid,
   //    /*listener*/ nullptr, "trace",
   //    /*crash_file*/ nullptr,
   //    /*can_connect*/ false);
-
-  process_sp->SetID(static_cast<lldb::pid_t>(pid));
+  //
+  // process_sp->SetID(static_cast<lldb::pid_t>(pid));
----------------
walter-erquinigo wrote:

do you need to do this? Otherwise all processes loaded from JSON will appear with an invalid PID.

https://github.com/llvm/llvm-project/pull/77252


More information about the lldb-commits mailing list