mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
2f728674cf
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 |
||
---|---|---|
.. | ||
AsmLexer.cpp | ||
AsmParser.cpp | ||
CMakeLists.txt | ||
COFFAsmParser.cpp | ||
DarwinAsmParser.cpp | ||
ELFAsmParser.cpp | ||
Makefile | ||
MCAsmLexer.cpp | ||
MCAsmParser.cpp | ||
MCAsmParserExtension.cpp | ||
TargetAsmParser.cpp |