llvm-6502/lib/Bitcode/Writer
Chris Lattner 6fa6a32e4e Add a little wrapper header that is put around bc files when emitting
bc files for modules with a target triple that indicates they are for
darwin.  The reader unconditionally handles this, and the writer could
turn this on for more targets if we care.

This change has two benefits for darwin:

1) it allows us to encode the cpu type of the file in an easy to read
   place that doesn't require decoding the bc file.
2) it works around a bug (IMO) in darwin's AR where it is incapable of
   handling files that are not a multiple of 8 bytes long.  BC files
   are only guaranteed to be multiples of 4 bytes long.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53275 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-09 05:14:23 +00:00
..
BitcodeWriter.cpp Add a little wrapper header that is put around bc files when emitting 2008-07-09 05:14:23 +00:00
BitcodeWriterPass.cpp
BitWriter.cpp Better test for availability of __gnu_cxx::stdio_filebuf. 2008-06-11 10:46:24 +00:00
Makefile
Serialize.cpp
SerializeAPFloat.cpp
SerializeAPInt.cpp
ValueEnumerator.cpp Make structs and arrays first-class types, and add assembly 2008-05-23 01:55:30 +00:00
ValueEnumerator.h Reimplement the parameter attributes support, phase #1. hilights: 2008-03-12 17:45:29 +00:00