diff options
| author | Greg Clayton <gclayton@apple.com> | 2016-06-07 23:19:00 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2016-06-07 23:19:00 +0000 |
| commit | 32c940de377ec87a072e3d7c3f3200beec6fe90e (patch) | |
| tree | 6f437fdf50522284f74a8eacb00812a490b5f73a /lldb/source/Expression/IRExecutionUnit.cpp | |
| parent | 9a293ca173b9c1946f9e7c63993e6686c25db10b (diff) | |
| download | bcm5719-llvm-32c940de377ec87a072e3d7c3f3200beec6fe90e.tar.gz bcm5719-llvm-32c940de377ec87a072e3d7c3f3200beec6fe90e.zip | |
Now that there are no cycles that cause leaks in the disassembler/instruction classes, we can get rid of the FIXME lines that were working around this issue.
<rdar://problem/26684190>
llvm-svn: 272071
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
| -rw-r--r-- | lldb/source/Expression/IRExecutionUnit.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp index 05f40deae07..103d76328c3 100644 --- a/lldb/source/Expression/IRExecutionUnit.cpp +++ b/lldb/source/Expression/IRExecutionUnit.cpp @@ -216,10 +216,6 @@ IRExecutionUnit::DisassembleFunction (Stream &stream, InstructionList &instruction_list = disassembler_sp->GetInstructionList(); instruction_list.Dump(&stream, true, true, &exe_ctx); - - // FIXME: The DisassemblerLLVMC has a reference cycle and won't go away if it has any active instructions. - // I'll fix that but for now, just clear the list and it will go away nicely. - disassembler_sp->GetInstructionList().Clear(); return ret; } |

