diff options
| author | Jean-Daniel Dupas <devlists@shadowlab.org> | 2014-02-03 23:49:47 +0000 |
|---|---|---|
| committer | Jean-Daniel Dupas <devlists@shadowlab.org> | 2014-02-03 23:49:47 +0000 |
| commit | 36b5eea258c6a30c389fca5aa62c89f3a2276329 (patch) | |
| tree | 846a7df0b025de80542183ce5a965e9e61b27454 /lldb/source/Symbol/FuncUnwinders.cpp | |
| parent | 0c8bb8f0f21d60d25f89e4552e5979c9d4ddcccc (diff) | |
| download | bcm5719-llvm-36b5eea258c6a30c389fca5aa62c89f3a2276329.tar.gz bcm5719-llvm-36b5eea258c6a30c389fca5aa62c89f3a2276329.zip | |
Fix UnwindAssembly memory leak by defining and using a shared UnwindAssemblySP type.
llvm-svn: 200725
Diffstat (limited to 'lldb/source/Symbol/FuncUnwinders.cpp')
| -rw-r--r-- | lldb/source/Symbol/FuncUnwinders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Symbol/FuncUnwinders.cpp b/lldb/source/Symbol/FuncUnwinders.cpp index 68b05ade4bd..134dbf5f50d 100644 --- a/lldb/source/Symbol/FuncUnwinders.cpp +++ b/lldb/source/Symbol/FuncUnwinders.cpp @@ -28,7 +28,7 @@ using namespace lldb_private; FuncUnwinders::FuncUnwinders ( UnwindTable& unwind_table, - UnwindAssembly *assembly_profiler, + const lldb::UnwindAssemblySP& assembly_profiler, AddressRange range ) : m_unwind_table(unwind_table), |

