Skip to content
  • Benjamin Kramer's avatar
    MC: Overhaul handling of .lcomm · 47f9ec92
    Benjamin Kramer authored
    - 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
    47f9ec92
Loading