llvm/lib
Jack Carter 8e48edcf3d [MC][AsmParser] Hook for post assembly file processing
This patch handles LLVM standalone assembler (llvm-mc) ELF flag setting based on input file
directive processing.

Mips assembly requires processing inline directives that directly and
indirectly affect the output ELF header flags. This patch handles one
".abicalls".

To process these directives we are following the model the code generator
uses by storing state in a container as we go through processing and when
we detect the end of input file processing, AsmParser is notified and we
update the ELF header flags through a MipsELFStreamer method with a call from
MCTargetAsmParser::emitEndOfAsmFile(MCStreamer &OutStreamer).

This patch will allow other targets the same functionality.

Jack


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191982 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-04 21:26:15 +00:00
..
Analysis Rename DataLayout variables TD -> DL 2013-10-03 19:50:01 +00:00
AsmParser Remove several unused variables. 2013-10-01 13:32:03 +00:00
Bitcode AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format. 2013-09-28 00:22:27 +00:00
CodeGen Temporarily revert r176882 as it needs to be implemented in a different 2013-10-04 19:40:33 +00:00
DebugInfo [DebugInfo] Further simplify DWARFDebugAranges public interface 2013-10-02 07:12:47 +00:00
ExecutionEngine Adding support and tests for multiple module handling in lli 2013-10-04 00:49:38 +00:00
IR Temporarily revert r191792 as it is causing some LTO debug failures 2013-10-04 17:08:38 +00:00
IRReader Add 'const' qualifiers to static const char* variables. 2013-07-16 01:17:10 +00:00
Linker Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
LTO Optimize linkonce_odr unnamed_addr functions during LTO. 2013-10-03 18:29:09 +00:00
MC [MC][AsmParser] Hook for post assembly file processing 2013-10-04 21:26:15 +00:00
Object Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}. 2013-09-27 21:47:05 +00:00
Option Fix another mistake in r190442. 2013-09-10 23:22:56 +00:00
Support raw_fd_ostream: Be more verbose about the reason when opening a file fails. 2013-10-03 16:59:14 +00:00
TableGen Add an error check for a typo I accidentally made in a td file that caused an assert to fire. 2013-08-20 04:22:09 +00:00
Target [MC][AsmParser] Hook for post assembly file processing 2013-10-04 21:26:15 +00:00
Transforms SLPVectorizer: Sort inputs to commutative binary operations 2013-10-04 20:39:16 +00:00
CMakeLists.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
LLVMBuild.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
Makefile Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00