[all-commits] [llvm/llvm-project] 8d106e: [lldb/Target] Unify frame provider descriptor and ...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Wed Apr 8 14:20:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d106eb976533e522d30b0b6da78445a8f5ec697
      https://github.com/llvm/llvm-project/commit/8d106eb976533e522d30b0b6da78445a8f5ec697
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M lldb/include/lldb/Target/SyntheticFrameProvider.h
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/include/lldb/Utility/ScriptedMetadata.h
    M lldb/include/lldb/lldb-defines.h
    M lldb/source/Target/SyntheticFrameProvider.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/test/API/functionalities/scripted_frame_provider/pass_through_prefix/TestFrameProviderPassThroughPrefix.py

  Log Message:
  -----------
  [lldb/Target] Unify frame provider descriptor and chain IDs (#190712)

Replace the two separate ID systems for frame providers — hash-based
descriptor IDs in Target and sequential chain IDs in Thread — with a
single monotonically increasing counter in Target.

Provider IDs are now assigned by
Target::AddScriptedFrameProviderDescriptor
and used directly as the chain ID in Thread, so
RegisterScriptedFrameProvider
returns the same ID used by 'bt --provider'. Also add duplicate
detection to
emit a warning when registering a provider with the same class name and
arguments twice.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>



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