HomePhabricator

[ThinLTO] Refactor module loader handling into new LTO file (NFC)

Description

[ThinLTO] Refactor module loader handling into new LTO file (NFC)

Moved the ModuleLoader and supporting helper loadModuleFromBuffer out of
ThinLTOCodeGenerator and into new LTO.h/LTO.cpp files. This is in
preparation for a patch that will utilize these in the gold-plugin.

Note that there are some other pending patches (D20268 and D20290) that
also plan to refactor common interfaces and functionality into this same
pair of new files.

Details

Committed
tejohnsonMay 23 2016, 3:54 PM
Parents
rL270508: [WebAssembly] Basic TargetTransformInfo support for SIMD128.
Branches
Unknown
Tags
Unknown