]> granicus.if.org Git - llvm/commit
Put RTDyldMemoryManager into its own file, and make it linked into
authorFilip Pizlo <fpizlo@apple.com>
Tue, 21 May 2013 20:24:07 +0000 (20:24 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Tue, 21 May 2013 20:24:07 +0000 (20:24 +0000)
commita4ea4a72031809911d77f543eb65175e00fe914e
treec52901daaada23258b60c45f1dc37ffd036d10b7
parent50f19a906a9d5e42d7707b54a11c0f0c9265fc1f
Put RTDyldMemoryManager into its own file, and make it linked into
libExecutionEngine. Move method implementations that aren't specific to
allocation out of SectionMemoryManager and into RTDyldMemoryManager.

This is in preparation for exposing RTDyldMemoryManager through the C
API.

This is a fixed version of r182407 and r182411. That first revision
broke builds because I forgot to move the conditional includes of
various POSIX headers from SectionMemoryManager into
RTDyldMemoryManager. Those includes are necessary because of how
getPointerToNamedFunction works around the glibc libc_nonshared.a thing.
The latter revision still broke things because I forgot to include
llvm/Config/config.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182418 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/RTDyldMemoryManager.h [new file with mode: 0644]
include/llvm/ExecutionEngine/RuntimeDyld.h
include/llvm/ExecutionEngine/SectionMemoryManager.h
lib/ExecutionEngine/CMakeLists.txt
lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
lib/ExecutionEngine/RTDyldMemoryManager.cpp [new file with mode: 0644]
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp