rust-lang/rust — pull request #16139 by michaelwoerister (2014-07-31 13:16:16+00:00)
Title: Use a versioning scheme for bytecode objects in rlibs

Before this commit, the LLVM IR of exported items was simply zip-compressed and stored as an object file inside rlib archives. This commit adds a header to this "object" containing a file identifier and a format version number so the compiler can deal with changes in the way bytecode objects are stored within rlibs.

While updating the format of bytecode objects, this commit also worksaround a problem in LLDB which could not handle odd-sized objects within archives before mid-2014.

Fixes #15950.