mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 08:57:43 +08:00
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
This commit is contained in:
@@ -1475,10 +1475,6 @@ DataExtractor::Dump (Stream *s,
|
||||
ExecutionContext exe_ctx;
|
||||
exe_scope->CalculateExecutionContext(exe_ctx);
|
||||
disassembler_sp->GetInstructionList().Dump (s, show_address, show_bytes, &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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user