Commit Graph

10 Commits

Author SHA1 Message Date
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
Chris Lattner
f19b8e43b3 Various improvements to the documentation, contributed by
Joshua Haberman!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42763 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-08 18:42:45 +00:00
Chris Lattner
69b3e40196 add initial description of llvm top-level stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37017 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-13 01:39:44 +00:00
Chris Lattner
7300af5896 finish the description of the bitstream format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37016 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-13 00:59:52 +00:00
Reid Spencer
58d054783d Fix a grammaro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37005 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 08:01:52 +00:00
Chris Lattner
f1d64e90b3 fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37004 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 07:50:14 +00:00
Chris Lattner
daeb63c220 continued description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37003 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 07:49:15 +00:00
Chris Lattner
3a1716db58 add a bunch of content.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37002 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 05:37:42 +00:00
Chris Lattner
e9ef4573e2 first step
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37001 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 03:23:40 +00:00
Reid Spencer
2c1ce4f28e Initial template for the 2.0 Bitcode format that will replace the 1.x
Bytecode format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 23:21:08 +00:00