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

Nicholas Mosier via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 8 13:00:54 PST 2024


nmosier wrote:

At least one test fails: `./bin/lldb -o 'trace load -v /llvm/lldb/test/API/commands/trace/intelpt-trace/trace_2threads.json'` crashes with an assertion failure on TraceIntelPTBundleLoader.cpp:127 (`*process_sp` is a null pointer dereference).

Do you know why `process_sp` would be null in this case? I added some extra assertions and it looks like `target_sp->m_process_sp` is null after the call to `ProcessTrace::CreateInstance` on line 111.



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


More information about the lldb-commits mailing list