llvm-6502/include/llvm
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
..
ADT Undefine NetBSD, it may have been defined by an earlier include of 2013-09-25 17:49:57 +00:00
Analysis Rename DataLayout variables TD -> DL 2013-10-03 19:50:01 +00:00
Assembly
Bitcode
CodeGen Revert r191940 to see if it fixes the build bots. 2013-10-04 05:52:17 +00:00
Config
DebugInfo Dump the normal dwarf pubtypes section as well. 2013-09-25 23:02:41 +00:00
ExecutionEngine Adding support and tests for multiple module handling in lli 2013-10-04 00:49:38 +00:00
IR Add patterns for selecting TBM instructions from logical operations. Patch from Yunzhong Gao. 2013-10-03 04:16:45 +00:00
IRReader
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
Support Program.h: Fix \Note into \note. [-Wdocumentation] 2013-10-02 08:14:38 +00:00
TableGen
Target IfConverter: Use TargetSchedule for instruction latencies 2013-09-30 15:28:56 +00:00
Transforms Optimize linkonce_odr unnamed_addr functions during LTO. 2013-10-03 18:29:09 +00:00
AutoUpgrade.h AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format. 2013-09-28 00:22:27 +00:00
CMakeLists.txt
DebugInfo.h Temporarily revert r191792 as it is causing some LTO debug failures 2013-10-04 17:08:38 +00:00
DIBuilder.h
GVMaterializer.h
InitializePasses.h Remove the very substantial, largely unmaintained legacy PGO 2013-10-02 15:42:23 +00:00
InstVisitor.h
LinkAllIR.h
LinkAllPasses.h Remove the very substantial, largely unmaintained legacy PGO 2013-10-02 15:42:23 +00:00
Linker.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h