1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/lib/Target/Mips/AsmParser
Jack Carter 70c25749d2 [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

llvm-svn: 191982
2013-10-04 21:26:15 +00:00
..
CMakeLists.txt Add stub methods for mips assembly matcher. 2012-08-17 20:16:42 +00:00
LLVMBuild.txt
Makefile
MipsAsmFlags.h [MC][AsmParser] Hook for post assembly file processing 2013-10-04 21:26:15 +00:00
MipsAsmParser.cpp [MC][AsmParser] Hook for post assembly file processing 2013-10-04 21:26:15 +00:00