llvm/lib
Jack Carter 9a7bf438b5 This patch reworks how llvm targets set
and update ELF header e_flags.

Currently gathering information such as symbol, 
section and data is done by collecting it in an 
MCAssembler object. From MCAssembler and MCAsmLayout 
objects ELFObjectWriter::WriteObject() forms and 
streams out the ELF object file.

This patch just adds a few members to the MCAssember 
class to store and access the e_flag settings. It 
allows for runtime additions to the e_flag by 
assembler directives. The standalone assembler can 
get to MCAssembler from getParser().getStreamer().getAssembler().

This patch is the generic infrastructure and will be
followed by patches for ARM and Mips for their target 
specific use.

Contributer: Jack Carter
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173882 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-30 02:09:52 +00:00
..
Analysis ConstantFolding: Add a missing folding that leads to a miscompile. 2013-01-24 16:28:28 +00:00
Archive Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
AsmParser Use the AttributeSet instead of AttributeWithIndex. 2013-01-27 02:24:02 +00:00
Bitcode Use an AttrBuilder to generate the correct AttributeSet. 2013-01-29 01:43:29 +00:00
CodeGen Add a special handling case for untyped CopyFromReg node in GetCostForDef() of ScheduleDAGRRList 2013-01-29 21:18:43 +00:00
DebugInfo DWARFDebugLine.cpp: Fix true path. Did you forget "return true" here? 2013-01-26 01:45:06 +00:00
ExecutionEngine Formatting correction 2013-01-29 00:50:18 +00:00
IR Add a couple of accessor methods to get the kind and values of an attribute. 2013-01-29 20:45:34 +00:00
Linker [Linker] Kill Linker::LoadObject which is dead, and drop the BitReader dependency again. 2013-01-18 19:37:11 +00:00
MC This patch reworks how llvm targets set 2013-01-30 02:09:52 +00:00
Object When encountering an unknown file format, ObjectFile::createObjectFile should 2013-01-25 20:53:41 +00:00
Option Resort the #include lines in include/... and lib/... with the 2013-01-02 10:22:59 +00:00
Support Fix gcc/printf/ISO C++ warning 2013-01-28 19:34:42 +00:00
TableGen A bugfix for tblgen, in the function ‘emitSourceFileHeader’. 2013-01-28 07:35:33 +00:00
Target This patch reworks how llvm targets set 2013-01-30 02:09:52 +00:00
Transforms Made certain small functions in PtrState inlined. 2013-01-29 22:29:59 +00:00
CMakeLists.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
LLVMBuild.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
Makefile Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00