1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Bitcode
Chris Lattner b650adae49 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.

llvm-svn: 53275
2008-07-09 05:14:23 +00:00
..
Reader Add a little wrapper header that is put around bc files when emitting 2008-07-09 05:14:23 +00:00
Writer Add a little wrapper header that is put around bc files when emitting 2008-07-09 05:14:23 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00