llvm-project/llvm/lib/MC/MCParser
Jim Grosbach 758e0cc94a 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

llvm-svn: 155926
2012-05-01 18:38:27 +00:00
..
AsmLexer.cpp Handle missing newline at EOF more gracefully in MC AsmLexer. 2011-09-15 16:52:06 +00:00
AsmParser.cpp MC: Unknown assembler directives are now hard errors. 2012-05-01 18:38:27 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFAsmParser.cpp Add back the MC bits of 126425. Original patch by Nathan Jeffords. I added the 2011-12-17 01:14:52 +00:00
DarwinAsmParser.cpp Reapply 131644 including the missing header changes: 2011-05-19 18:00:13 +00:00
ELFAsmParser.cpp Add support for gnu_indirect_function. 2011-12-12 17:34:04 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
MCAsmLexer.cpp Add AsmToken::getEndLoc and use it to add ranges to x86 asm register parsing. 2011-10-16 12:10:27 +00:00
MCAsmParser.cpp Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does. Enhance 2011-10-16 04:47:35 +00:00
MCAsmParserExtension.cpp Restore r125595 (reverted in r126336) with modifications: 2011-02-24 21:59:22 +00:00
MCTargetAsmParser.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
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00