#include "disassembler/llvm/LLVMDisassembler.hxx"
#include "disassembler/llvm/LLVMBasicBlock.hxx"
#include "disassembler/llvm/LLVMFunction.hxx"
+#include "core/InformationManager.hxx"
#include <stack>
#include <algorithm>
template <typename ELFT>
LLVMDisassembler<ELFT>::~LLVMDisassembler() {
- std::for_each(functions.begin(), functions.end(),
- [](std::pair<uint64_t,LLVMFunction*> it) {
- delete it.second;
- });
- std::for_each(blocks.begin(), blocks.end(),
- [](std::pair<uint64_t, LLVMBasicBlock*> it) {
- delete it.second;
- });
+ // std::for_each(functions.begin(), functions.end(),
+ // [](std::pair<uint64_t,LLVMFunction*> it) {
+ // delete it.second;
+ // });
+ // std::for_each(blocks.begin(), blocks.end(),
+ // [](std::pair<uint64_t, LLVMBasicBlock*> it) {
+ // delete it.second;
+ // });
}
template <typename ELFT>