[all-commits] [llvm/llvm-project] 6ef306: [lldb][trace] Ensure ProcessTrace plugin can be re...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Tue Mar 24 13:39:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ef30612ee6d69d0a5658ec0d2f78b6a09a4aa0d
      https://github.com/llvm/llvm-project/commit/6ef30612ee6d69d0a5658ec0d2f78b6a09a4aa0d
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2026-03-24 (Tue, 24 Mar 2026)

  Changed paths:
    M lldb/source/Target/ProcessTrace.cpp

  Log Message:
  -----------
  [lldb][trace] Ensure ProcessTrace plugin can be re-registered (#188336)

Initialize makes sure that it calls RegisterPlugin only once, but
Terminate always calls UnregisterPlugin. This is a problem for tests
that call Initialize/Terminate before and after each test case: the
second case will fail because the trace plugin won't be loaded.

This fixes a test failure introduced by #187768, which adds a test case
that passes on its own but fails when run after the previous test case.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list