llvm-6502/lib/MC
Jim Grosbach 686c01854e MC: Unknown assembler directives are now hard errors.
Previously, an unsupported/unknown assembler directive issued a warning.
That's generally unsafe, and inconsistent with the behaviour of pretty
much every system assembler. Now that the MC assemblers are mature
enough to be the default on multiple targets, it's reasonable to
issue errors for these.

For target or platform directives that need to stay warnings, we
should add explicit handlers for them in, e.g., ELFAsmParser.cpp,
DarwinAsmParser.cpp, et. al., and issue the warning there.

rdar://9246275

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155926 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-01 18:38:27 +00:00
..
MCDisassembler Fixed two leaks in the MC disassembler. The MC 2012-04-06 18:21:09 +00:00
MCParser MC: Unknown assembler directives are now hard errors. 2012-05-01 18:38:27 +00:00
CMakeLists.txt Remove the logging streamer. 2012-01-10 00:40:39 +00:00
ELFObjectWriter.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
MachObjectWriter.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
Makefile
MCAsmBackend.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCAsmInfo.cpp Output UTF-8-encoded characters as identifier characters into assembly 2012-04-07 00:37:53 +00:00
MCAsmInfoCOFF.cpp Prune some includes 2012-03-27 07:54:11 +00:00
MCAsmInfoDarwin.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
MCAsmStreamer.cpp Correctly initialize LineSectionSymbol. Thanks to Duncan Sands for noticing it. 2012-03-03 14:24:15 +00:00
MCAssembler.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCAtom.cpp MCAtom extending methods need to extend the range of the atom as well. 2011-10-10 18:09:38 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp Sink codegen optimization level into MCCodeGenInfo along side relocation model 2011-11-16 08:38:26 +00:00
MCContext.cpp Add simple support for keeping MCFixup source information. 2012-01-26 23:20:11 +00:00
MCDisassembler.cpp
MCDwarf.cpp Compute hashes directly with hash_combine instead of taking a detour through FoldingSetNodeID. 2012-04-11 14:06:39 +00:00
MCELF.cpp Add support for gnu_indirect_function. 2011-12-12 17:34:04 +00:00
MCELF.h Make all static functions become static class methods. Move shared (duplicated) functions to new MCELF class. 2011-02-28 21:45:04 +00:00
MCELFObjectTargetWriter.cpp Add a hook in MCELFObjectTargetWriter to allow targets to sort relocation 2012-03-23 23:06:45 +00:00
MCELFStreamer.cpp For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981. 2012-02-15 15:09:06 +00:00
MCExpr.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCInst.cpp Add a dump() implementation for sub-instruction MCOperands. 2012-01-19 19:32:20 +00:00
MCInstPrinter.cpp Move getOpcodeName from the various target InstPrinters into the superclass MCInstPrinter. 2012-04-02 08:32:38 +00:00
MCInstrAnalysis.cpp MCInstrAnalysis: Don't crash on instructions with no operands. 2011-09-19 17:56:00 +00:00
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Convert assert(0) to llvm_unreachable 2012-02-07 05:05:23 +00:00
MCModule.cpp Tidy up. 80 columns. 2011-11-15 16:46:22 +00:00
MCNullStreamer.cpp MC: Fix the MCNullStreamer which was broken in r147763. 2012-02-22 23:49:50 +00:00
MCObjectFileInfo.cpp Use the correct section types on Solaris for unwind data on both x86 and x86-64. 2012-04-10 11:44:33 +00:00
MCObjectStreamer.cpp Prune some includes and forward declarations. 2012-03-26 06:58:25 +00:00
MCObjectWriter.cpp Fixed a crash in llvm-mc for Mach-O when a symbol difference expression uses a 2012-01-31 23:02:57 +00:00
MCPureStreamer.cpp Better diagnostic for malformed .org assembly directive. 2012-01-27 00:37:08 +00:00
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp Be nice to Xcore and the XMOS assembler and avoid quoting section names 2011-03-04 20:03:14 +00:00
MCSectionMachO.cpp Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638> 2011-03-19 02:42:31 +00:00
MCStreamer.cpp Bump SmallString to the minimum required amount for raw_ostream to avoid allocation. 2012-02-23 21:15:21 +00:00
MCSubtargetInfo.cpp - Eliminate MCCodeEmitter's dependency on TargetMachine. It now uses MCInstrInfo 2011-07-11 03:57:24 +00:00
MCSymbol.cpp Assembler should accept redefinitions of unused variable symbols. 2012-03-20 21:33:21 +00:00
MCTargetAsmLexer.cpp Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. 2011-07-26 00:24:13 +00:00
MCValue.cpp
MCWin64EH.cpp Add MCObjectFileInfo and sink the MCSections initialization code from 2011-07-20 05:58:47 +00:00
SubtargetFeature.cpp Replace (Lower|Upper)caseString in favor of StringRef's newest methods. 2011-11-06 20:37:06 +00:00
WinCOFFObjectWriter.cpp Implement relocation-overflow behavior for PE/COFF. 2012-03-15 09:03:03 +00:00
WinCOFFStreamer.cpp Prune some includes 2012-03-27 07:54:11 +00:00