forked from OSchip/llvm-project
776f1d50c8
Non-loaded sections (whose unused load-address defaults to zero) should not be taken into account when calculating ImageBase, or ImageBase will be incorrectly set to 0. Patch by Andrew Scheidecker. Thanks Andrew! https://reviews.llvm.org/D51343 + // The Sections list may contain sections that weren't loaded for + // whatever reason: they may be debug sections, and ProcessAllSections + // is false, or they may be sections that contain 0 bytes. If the + // section isn't loaded, the load address will be 0, and it should not + // be included in the ImageBase calculation. llvm-svn: 344995 |
||
---|---|---|
.. | ||
Targets | ||
CMakeLists.txt | ||
JITSymbol.cpp | ||
LLVMBuild.txt | ||
RTDyldMemoryManager.cpp | ||
RuntimeDyld.cpp | ||
RuntimeDyldCOFF.cpp | ||
RuntimeDyldCOFF.h | ||
RuntimeDyldChecker.cpp | ||
RuntimeDyldCheckerImpl.h | ||
RuntimeDyldELF.cpp | ||
RuntimeDyldELF.h | ||
RuntimeDyldImpl.h | ||
RuntimeDyldMachO.cpp | ||
RuntimeDyldMachO.h |