[RuntimeDyld] Don't allocate unnecessary stub buffer spaceSummary:For relocation types that are known to not require stub functions, thereis no need to allocate extra space for the stub functions
[RuntimeDyld] Don't allocate unnecessary stub buffer spaceSummary:For relocation types that are known to not require stub functions, thereis no need to allocate extra space for the stub functions.Reviewers: lhames, reames, maksfbSubscribers: llvm-commitsDifferential Revision: http://reviews.llvm.org/D14676llvm-svn: 253920
show more ...
[RuntimeDyld] Ignore ST_FILE symbols when constructing GlobalSymbolTableSummary: ELF's STT_File symbols may overlap with regular globals inother files, so we should ignore them here in order to av
[RuntimeDyld] Ignore ST_FILE symbols when constructing GlobalSymbolTableSummary: ELF's STT_File symbols may overlap with regular globals inother files, so we should ignore them here in order to avoid havingbogus entries in the symbol table that confuse us when resolving relocations.Reviewers: lhamesSubscribers: llvm-commitsDifferential Revision: http://reviews.llvm.org/D13888llvm-svn: 250942
[RuntimeDyldELF] Improve GOT supportSummary:This is the first in a series of patches to eventually add support for TLS relocations to RuntimeDyld. This patch resolves an issue in the current GOT h
[RuntimeDyldELF] Improve GOT supportSummary:This is the first in a series of patches to eventually add support for TLS relocations to RuntimeDyld. This patch resolves an issue in the current GOT handling, where GOT entries would be reused between object files, which leads to the same situation that necessitates the GOT in the first place, i.e. that the 32-bit offset can not cover all of the address space. Thus this patch makes the GOT object-file-local.Unfortunately, this still isn't quite enough, because the MemoryManager does not yet guarantee that sections are allocated sufficiently close to each other, even if they belong to the same object file. To address this concern, this patch also adds a small API abstraction on top of the GOT allocation mechanism that will allow (temporarily, until the MemoryManager is improved) using the stub mechanism instead of allocating a different section. The actual switch from separate section to stub mechanism will be part of a follow-on commit, so that it can be easily reverted independently at the appropriate time.Test Plan: Includes a test case where the GOT of two object files is artificially forced to be apart by several GB.Reviewers: lhamesReviewed By: lhamesSubscribers: llvm-commitsDifferential Revision: http://reviews.llvm.org/D8813llvm-svn: 234839