OSDN Git Service

NFC: Move ObjectMemoryBuffer to support
authorWeiming Zhao <wmzhao.code@gmail.com>
Sun, 15 Apr 2018 05:17:14 +0000 (05:17 +0000)
committerWeiming Zhao <wmzhao.code@gmail.com>
Sun, 15 Apr 2018 05:17:14 +0000 (05:17 +0000)
commit68232226c47123411a51014277283a22913723de
treed73ba9c268bba6a2a8db3d008724877f064732ae
parent0c191c5e264b8cab92b7fe720a1173f54cd4c9b2
NFC: Move ObjectMemoryBuffer to support

Summary:
Since the class is used by both MCJIT and LTO, it makes more sense to move it to Support lib.
This is a follow up patch to r329929 and https://reviews.llvm.org/D45244

Reviewers: bkramer, dblaikie

Reviewed By: bkramer

Subscribers: mehdi_amini, eraman, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330093 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/CompileUtils.h
include/llvm/Support/ObjectMemoryBuffer.h [moved from include/llvm/ExecutionEngine/ObjectMemoryBuffer.h with 98% similarity]
lib/ExecutionEngine/MCJIT/MCJIT.h
lib/LTO/LLVMBuild.txt
lib/LTO/ThinLTOCodeGenerator.cpp
lib/Support/MemoryBuffer.cpp