[all-commits] [llvm/llvm-project] d7cea2: [lldb] Remove UnwindPlan::Row shared_ptrs (#132370)

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Mar 27 03:27:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7cea2b18717f0cc31b7da4a03f772d89ee201db
      https://github.com/llvm/llvm-project/commit/d7cea2b18717f0cc31b7da4a03f772d89ee201db
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-03-27 (Thu, 27 Mar 2025)

  Changed paths:
    M lldb/include/lldb/Symbol/UnwindPlan.h
    M lldb/source/Symbol/UnwindPlan.cpp

  Log Message:
  -----------
  [lldb] Remove UnwindPlan::Row shared_ptrs (#132370)

The surrounding code doesn't use them anymore. This removes the internal
usages.

This patch makes the Rows actual values. An alternative would be to make
them unique_ptrs. That would make vector resizes faster at the cost of
more pointer chasing and heap fragmentation. I don't know which one is
better so I picked the simpler option.



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