All UnwindPlan objects are now passed around as shared pointers.
ArchDefaultUnwindPlan plug-in interfaces are now cached per architecture instead of being leaked for every frame. Split the ArchDefaultUnwindPlan_x86 into ArchDefaultUnwindPlan_x86_64 and ArchDefaultUnwindPlan_i386 interfaces. There were sporadic crashes that were due to something leaking or being destroyed when doing stack crawls. This patch should clear up these issues. llvm-svn: 125541
Showing
- lldb/include/lldb/Symbol/FuncUnwinders.h 8 additions, 8 deletionslldb/include/lldb/Symbol/FuncUnwinders.h
- lldb/include/lldb/Utility/ArchDefaultUnwindPlan.h 2 additions, 2 deletionslldb/include/lldb/Utility/ArchDefaultUnwindPlan.h
- lldb/include/lldb/lldb-forward-rtti.h 2 additions, 0 deletionslldb/include/lldb/lldb-forward-rtti.h
- lldb/source/Plugins/Process/Utility/ArchDefaultUnwindPlan-x86.cpp 131 additions, 57 deletions...rce/Plugins/Process/Utility/ArchDefaultUnwindPlan-x86.cpp
- lldb/source/Plugins/Process/Utility/ArchDefaultUnwindPlan-x86.h 56 additions, 7 deletions...ource/Plugins/Process/Utility/ArchDefaultUnwindPlan-x86.h
- lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp 130 additions, 156 deletionslldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
- lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h 9 additions, 6 deletionslldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
- lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp 9 additions, 5 deletionslldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
- lldb/source/Plugins/Process/Utility/UnwindLLDB.h 6 additions, 6 deletionslldb/source/Plugins/Process/Utility/UnwindLLDB.h
- lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp 4 additions, 2 deletions...e/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
- lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h 1 addition, 1 deletion...rce/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 28 additions, 2 deletionslldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
- lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp 5 additions, 4 deletionslldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
- lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h 1 addition, 1 deletionlldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 14 additions, 14 deletionslldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h 3 additions, 0 deletionslldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h 8 additions, 0 deletions...source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
- lldb/source/Symbol/FuncUnwinders.cpp 30 additions, 31 deletionslldb/source/Symbol/FuncUnwinders.cpp
- lldb/source/Utility/ArchDefaultUnwindPlan.cpp 20 additions, 6 deletionslldb/source/Utility/ArchDefaultUnwindPlan.cpp
- lldb/source/lldb.cpp 4 additions, 2 deletionslldb/source/lldb.cpp
Loading
Please register or sign in to comment