LTO: Remove ModuleLoader, make loadModuleFromBuffer static and move into its only...
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 1 Dec 2016 05:52:32 +0000 (05:52 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 1 Dec 2016 05:52:32 +0000 (05:52 +0000)
commitdac43b49bd941f4ef44ee2f5284d3e9f61b0db13
tree529edb0d6cf53d46ce7f0f62879c148529fb2c41
parentcf2750a501da4bc44d89a606c6be4fe23f0b115d
LTO: Remove ModuleLoader, make loadModuleFromBuffer static and move into its only client, ThinLTOCodeGenerator.

This is no longer the recommended way to load modules for importing, so it should not be public API.

Differential Revision: https://reviews.llvm.org/D27292

llvm-svn: 288316
llvm/include/llvm/LTO/LTO.h
llvm/lib/LTO/LTO.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp