1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/Bitcode/Writer
Dan Gohman a9936d3f97 Discard metadata produced by LLVM 2.7. The value enumeration it used
is different from what the code now uses in a two ways: NamedMDNodes
were considered Values and included in the numbering, and the
function-local metadata counter wasn't reset between functions.

The later problem breaks lazy deserialization, so instead of trying
to emulate the old numbering, just drop the old metadata. The only
in-tree use case is debug info with LTO, where the QOI loss is
considered acceptable.

llvm-svn: 113557
2010-09-09 23:12:39 +00:00
..
BitcodeWriter.cpp Discard metadata produced by LLVM 2.7. The value enumeration it used 2010-09-09 23:12:39 +00:00
BitcodeWriterPass.cpp Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
BitWriter.cpp Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options. 2010-03-06 00:30:06 +00:00
CMakeLists.txt Remove derelict serialization code. 2009-12-31 23:40:17 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
ValueEnumerator.cpp Clear FunctionLocalMDs in purgeFunction along with the rest of the 2010-08-25 17:11:16 +00:00
ValueEnumerator.h Extend function-local metadata to be usable as attachments. 2010-08-24 02:24:03 +00:00