llvm-6502/lib/ExecutionEngine/RuntimeDyld
Rafael Espindola 59a0e79631 Add getSymbolAlignment to the ObjectFile interface.
For regular object files this is only meaningful for common symbols. An object
file format with direct support for atoms should be able to provide alignment
information for all symbols.

This replaces getCommonSymbolAlignment and fixes
test-common-symbols-alignment.ll on darwin. This also includes a fix to
MachOObjectFile::getSymbolFlags. It was marking undefined symbols as common
(already tested by existing mcjit tests now that it is used).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180736 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-29 22:24:22 +00:00
..
CMakeLists.txt
GDBRegistrar.cpp
JITRegistrar.h
LLVMBuild.txt
Makefile
ObjectImageCommon.h
RuntimeDyld.cpp Add getSymbolAlignment to the ObjectFile interface. 2013-04-29 22:24:22 +00:00
RuntimeDyldELF.cpp Add getSymbolAlignment to the ObjectFile interface. 2013-04-29 22:24:22 +00:00
RuntimeDyldELF.h Add getSymbolAlignment to the ObjectFile interface. 2013-04-29 22:24:22 +00:00
RuntimeDyldImpl.h Add getSymbolAlignment to the ObjectFile interface. 2013-04-29 22:24:22 +00:00
RuntimeDyldMachO.cpp Use a RelocationRef instead of a relocation_iterator. 2013-04-29 19:03:21 +00:00
RuntimeDyldMachO.h Rationalize what is public in RuntimeDyldMachO and RuntimeDyldELF. 2013-04-29 22:06:33 +00:00