mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
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
This commit is contained in:
@ -73,17 +73,6 @@ public:
|
||||
/// \returns true if an error occurred, false otherwise.
|
||||
virtual bool finalizeMemory(std::string *ErrMsg = 0);
|
||||
|
||||
void registerEHFrames(StringRef SectionData);
|
||||
|
||||
/// This method returns the address of the specified function. As such it is
|
||||
/// only useful for resolving library symbols, not code generated symbols.
|
||||
///
|
||||
/// If \p AbortOnFailure is false and no function with the given name is
|
||||
/// found, this function returns a null pointer. Otherwise, it prints a
|
||||
/// message to stderr and aborts.
|
||||
virtual void *getPointerToNamedFunction(const std::string &Name,
|
||||
bool AbortOnFailure = true);
|
||||
|
||||
/// \brief Invalidate instruction cache for code sections.
|
||||
///
|
||||
/// Some platforms with separate data cache and instruction cache require
|
||||
|
Reference in New Issue
Block a user