OSDN Git Service

[IRReader] Expose getLazyIRModule
authorScott Linder <scott@scottlinder.com>
Mon, 11 Feb 2019 22:01:13 +0000 (22:01 +0000)
committerScott Linder <scott@scottlinder.com>
Mon, 11 Feb 2019 22:01:13 +0000 (22:01 +0000)
commit377fba3b5c710cde9d3c52fa06287f37841fc4ed
tree791275cf0a867e9a1cd11a18f1b311440df41ff0
parentf3f4691605009a5714f69892ef4237bf37f49b52
[IRReader] Expose getLazyIRModule

Currently there is no way to lazy-load an in-memory IR module without
first writing it to disk. This patch just exposes the existing
implementation of getLazyIRModule.

This is effectively a revert of rL212364

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353755 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IRReader/IRReader.h
lib/IRReader/IRReader.cpp