1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/MC
Benjamin Kramer f7fdee3ce3 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
..
MCDisassembler Whitespace. 2012-07-18 19:35:16 +00:00
MCParser MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
CMakeLists.txt Give MCRegisterInfo an implementation file. 2012-07-27 16:25:20 +00:00
ELFObjectWriter.cpp Fix comment. 2012-08-27 16:04:24 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
MachObjectWriter.cpp Reduce duplicated hash map lookups. 2012-08-22 15:37:57 +00:00
Makefile
MCAsmBackend.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCAsmInfo.cpp MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
MCAsmInfoCOFF.cpp MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
MCAsmInfoDarwin.cpp MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
MCAsmStreamer.cpp MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
MCAssembler.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCAtom.cpp MCAtom extending methods need to extend the range of the atom as well. 2011-10-10 18:09:38 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp Sink codegen optimization level into MCCodeGenInfo along side relocation model 2011-11-16 08:38:26 +00:00
MCContext.cpp MCContext.cpp: Fixup for my odd previous commit. No functional changes. 2012-07-03 06:01:27 +00:00
MCDisassembler.cpp
MCDwarf.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCELF.cpp Add support for gnu_indirect_function. 2011-12-12 17:34:04 +00:00
MCELF.h
MCELFObjectTargetWriter.cpp The ELF relocation record format is different for N64 2012-06-27 22:28:30 +00:00
MCELFStreamer.cpp EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 2012-06-22 20:14:46 +00:00
MCExpr.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCInst.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCInstPrinter.cpp Move getOpcodeName from the various target InstPrinters into the superclass MCInstPrinter. 2012-04-02 08:32:38 +00:00
MCInstrAnalysis.cpp
MCLabel.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
MCModule.cpp Tidy up. 80 columns. 2011-11-15 16:46:22 +00:00
MCNullStreamer.cpp EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 2012-06-22 20:14:46 +00:00
MCObjectFileInfo.cpp Fix for .pdata and .xdata section attributes on COFF. 2012-08-08 12:46:46 +00:00
MCObjectStreamer.cpp For mips64 switch statements in subroutines could generate 2012-08-22 00:49:30 +00:00
MCObjectWriter.cpp Move [SU]LEB128 encoding to a utility header. 2012-08-08 23:56:06 +00:00
MCPureStreamer.cpp EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 2012-06-22 20:14:46 +00:00
MCRegisterInfo.cpp Give MCRegisterInfo an implementation file. 2012-07-27 16:25:20 +00:00
MCSection.cpp
MCSectionCOFF.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCSectionELF.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCSectionMachO.cpp
MCStreamer.cpp Move [SU]LEB128 encoding to a utility header. 2012-08-08 23:56:06 +00:00
MCSubtargetInfo.cpp Constify subtarget info properly so that we dont cast away the const in 2012-09-05 21:43:57 +00:00
MCSymbol.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCTargetAsmLexer.cpp
MCValue.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
MCWin64EH.cpp Fix for .pdata and .xdata section attributes on COFF. 2012-08-08 12:46:46 +00:00
SubtargetFeature.cpp Release build: guard dump functions with "ifndef NDEBUG" 2012-09-06 19:55:56 +00:00
WinCOFFObjectWriter.cpp Implement relocation-overflow behavior for PE/COFF. 2012-03-15 09:03:03 +00:00
WinCOFFStreamer.cpp EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 2012-06-22 20:14:46 +00:00