llvm-6502/lib/CodeGen/AsmPrinter
Chris Lattner 44e05080f8 Bill's change in r95336 broke empty aggregates embedded
in other types.  fix this by only bumping zero-byte globals
up to a single byte if the *entire global* is zero size,
fixing PR6340.

This also fixes empty arrays etc to be handled correctly,
and only does this on subsection-via-symbols targets (aka
darwin) which is the only place where this matters.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101879 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-20 06:20:21 +00:00
..
AsmPrinter.cpp Bill's change in r95336 broke empty aggregates embedded 2010-04-20 06:20:21 +00:00
AsmPrinterDwarf.cpp Move EmitFrameMoves into AsmPrinter. 2010-04-04 23:41:46 +00:00
AsmPrinterInlineAsm.cpp implicit defs get added to the end of machine instrs sometimes. Scan the whole instruction for the metadata operand instead of assuming it will be at the end of the instruction. 2010-04-08 18:20:52 +00:00
CMakeLists.txt Add a missing dependency to this library when building with CMake. 2010-04-09 05:55:25 +00:00
DIE.cpp change SizeOf to take AsmPrinter instead of TargetData, 2010-04-05 00:18:22 +00:00
DIE.h Add support to emit dwarf ranges. 2010-04-16 23:33:45 +00:00
DwarfDebug.cpp Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cpp 2010-04-20 00:37:27 +00:00
DwarfDebug.h Add support to emit dwarf ranges. 2010-04-16 23:33:45 +00:00
DwarfException.cpp Add const qualifiers to CodeGen's use of LLVM IR constructs. 2010-04-15 01:51:59 +00:00
DwarfException.h Use the "NamedGroupTimer" class to categorize DWARF emission better. 2010-04-07 09:28:04 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
OcamlGCPrinter.cpp Use twines to simplify calls to report_fatal_error. For code size and readability. 2010-04-08 10:44:28 +00:00