llvm-6502/lib/Object
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
..
Archive.cpp
Binary.cpp
CMakeLists.txt Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. 2013-04-26 20:07:33 +00:00
COFFObjectFile.cpp Clarify getRelocationAddress x getRelocationOffset a bit. 2013-04-25 12:28:45 +00:00
ELFObjectFile.cpp
Error.cpp
LLVMBuild.txt
MachOObjectFile.cpp Add getSymbolAlignment to the ObjectFile interface. 2013-04-29 22:24:22 +00:00
Makefile
Object.cpp Move C++ code out of the C headers and into either C++ headers 2013-04-22 22:47:22 +00:00
ObjectFile.cpp Add getSymbolAlignment to the ObjectFile interface. 2013-04-29 22:24:22 +00:00