llvm-mirror/lib/MC/MCParser
Jim Grosbach 2f728674cf Move some ELF directives into ELF asm parser.
The .local, .hidden, .internal, and .protected are not legal for all supported
file formats (in particular, they're invalid for MachO). Move the parsing for
them into the ELF assembly parser since that's the format they're for.
Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing
to the COFF and ELF asm parsers. Previously, using any of these directives
on Darwin would result in an assertion failure in the parser; now we get
a diagnostic as we should.

rdar://9827089

llvm-svn: 135921
2011-07-25 17:55:35 +00:00
..
AsmLexer.cpp Basic support for macros with explicit arguments. 2011-06-05 02:43:45 +00:00
AsmParser.cpp Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
CMakeLists.txt MC-COFF: Add COFFAsmParser. Completes PR8343. 2010-10-09 11:01:07 +00:00
COFFAsmParser.cpp Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
DarwinAsmParser.cpp Reapply 131644 including the missing header changes: 2011-05-19 18:00:13 +00:00
ELFAsmParser.cpp Move some ELF directives into ELF asm parser. 2011-07-25 17:55:35 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MCAsmLexer.cpp MC: Move getLoc() to MCAsmLexer(). 2010-07-12 17:10:00 +00:00
MCAsmParser.cpp Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where they belong. 2011-07-23 00:45:41 +00:00
MCAsmParserExtension.cpp Restore r125595 (reverted in r126336) with modifications: 2011-02-24 21:59:22 +00:00
TargetAsmParser.cpp Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where they belong. 2011-07-23 00:45:41 +00:00