llvm-6502/lib/Target/X86/MCTargetDesc
Daniel Sanders 57edb9588b Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call
Summary:
AsmPrinter::EmitInlineAsm() will no longer use the EmitRawText() call for targets with mature MC support. Such targets will always parse the inline assembly (even when emitting assembly). Targets without mature MC support continue to use EmitRawText() for assembly output.

The hasRawTextSupport() check in AsmPrinter::EmitInlineAsm() has been replaced with MCAsmInfo::UseIntegratedAs which when true, causes the integrated assembler to parse inline assembly (even when emitting assembly output). UseIntegratedAs is set to true for targets that consider any failure to parse valid assembly to be a bug. Target specific subclasses generally enable the integrated assembler in their constructor. The default value can be overridden with -no-integrated-as.

All tests that rely on inline assembly supporting invalid assembly (for example, those that use mnemonics such as 'foo' or 'hello world') have been updated to disable the integrated assembler.

Reviewers: rafael

Reviewed By: rafael

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2686

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201237 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-12 14:44:54 +00:00
..
CMakeLists.txt [CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt
Makefile
X86AsmBackend.cpp don't set HasReliableSymbolDifference for ELF. 2014-02-06 01:06:31 +00:00
X86BaseInfo.h Recommit r201059 and r201060 with hopefully a fix for its original failure. 2014-02-10 06:55:41 +00:00
X86ELFObjectWriter.cpp [x86] Support R_386_PC8, R_386_PC16 and R_X86_64_PC8 2014-01-08 12:58:40 +00:00
X86ELFRelocationInfo.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
X86FixupKinds.h
X86MachObjectWriter.cpp Fix a bug in darwin's 32-bit X86 handling of evaluating fixups. 2013-12-04 23:36:24 +00:00
X86MachORelocationInfo.cpp Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
X86MCAsmInfo.cpp Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-12 14:44:54 +00:00
X86MCAsmInfo.h Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
X86MCCodeEmitter.cpp Recommit r201059 and r201060 with hopefully a fix for its original failure. 2014-02-10 06:55:41 +00:00
X86MCTargetDesc.cpp Pass a MCSubtargetInfo down to the TargetStreamer creation. 2014-01-26 06:38:58 +00:00
X86MCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
X86WinCOFFObjectWriter.cpp [COFF] Add support for the .secidx directive 2013-12-20 18:15:00 +00:00