diff options
author | Dan Gohman <gohman@apple.com> | 2010-09-09 23:12:39 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-09-09 23:12:39 +0000 |
commit | 6dbbab68953b277765ff5085b2080cf2954a401a (patch) | |
tree | e1975df65d0a26696000a0c31c94aefe3a5d9541 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0d4d88cf385c9fb78f7cf82c10a1fb697ab052a1 (diff) | |
download | llvm-6dbbab68953b277765ff5085b2080cf2954a401a.zip llvm-6dbbab68953b277765ff5085b2080cf2954a401a.tar.gz llvm-6dbbab68953b277765ff5085b2080cf2954a401a.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions