search for: cae0ea2

Displaying 1 result from an estimated 1 matches for "cae0ea2".

2014 Jan 22
2
[LLVMdev] [RFC] LTO: deallocating llvm::Module inside lto_codegen_add_module
..._module.reset(); + _target.reset(); + } + private: /// parseMetadata - Parse metadata from the module // FIXME: it only parses "Linker Options" metadata at the moment diff --git a/lib/LTO/LTOCodeGenerator.cpp b/lib/LTO/LTOCodeGenerator.cpp index cae0ea2..a947fa8 100644 --- a/lib/LTO/LTOCodeGenerator.cpp +++ b/lib/LTO/LTOCodeGenerator.cpp @@ -121,6 +121,8 @@ bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) { for (int i = 0, e = undefs.size(); i != e; ++i) AsmUndefinedRefs[undefs[i]] = 1;...