llvm-project/llvm/lib/CodeGen/AsmPrinter
Chris Lattner 5100367ff3 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.

llvm-svn: 101879
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