llvm-6502/lib/MC/MCParser
Jim Grosbach f2a35fbd60 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135921 91177308-0d34-0410-b5e6-96231b3b80d8
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