llvm-project/llvm/lib/MC/MCParser
Benjamin Kramer 47f9ec92cb MC: Overhaul handling of .lcomm
- Darwin lied about not supporting .lcomm and turned it into zerofill in the
  asm parser. Push the zerofill-conversion down into macho-specific code.
- This makes the tri-state LCOMMType enum superfluous, there are no targets
  without .lcomm.
- Do proper error reporting when trying to use .lcomm with alignment on a target
  that doesn't support it.
- .comm and .lcomm alignment was parsed in bytes on COFF, should be power of 2.
- Fixes PR13755 (.lcomm crashes on ELF).

llvm-svn: 163395
2012-09-07 17:25:13 +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: Overhaul handling of .lcomm 2012-09-07 17:25:13 +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 Add `.pushsection', `.popsection', and `.previous' directives to Darwin ASM. 2012-08-08 06:30:30 +00:00
ELFAsmParser.cpp ELF: Add support for the asm .version directive. 2012-05-12 14:30:47 +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 Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +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