mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
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
This commit is contained in:
@@ -76,7 +76,8 @@ lldb_private::Initialize ()
|
||||
SymbolFileDWARF::Initialize();
|
||||
SymbolFileSymtab::Initialize();
|
||||
UnwindAssemblyProfiler_x86::Initialize();
|
||||
ArchDefaultUnwindPlan_x86::Initialize();
|
||||
ArchDefaultUnwindPlan_x86_64::Initialize();
|
||||
ArchDefaultUnwindPlan_i386::Initialize();
|
||||
ArchVolatileRegs_x86::Initialize();
|
||||
ScriptInterpreter::Initialize ();
|
||||
|
||||
@@ -123,7 +124,8 @@ lldb_private::Terminate ()
|
||||
SymbolFileDWARF::Terminate();
|
||||
SymbolFileSymtab::Terminate();
|
||||
UnwindAssemblyProfiler_x86::Terminate();
|
||||
ArchDefaultUnwindPlan_x86::Terminate();
|
||||
ArchDefaultUnwindPlan_i386::Terminate();
|
||||
ArchDefaultUnwindPlan_x86_64::Terminate();
|
||||
ArchVolatileRegs_x86::Terminate();
|
||||
ScriptInterpreter::Terminate ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user