llvm/lib/Bitcode
Teresa Johnson ba0fc20463 Ensure MDNode used as key in metadata linking map cannot be RAUWed
As suggested in review for r255909, add a way to ensure that temporary
MD used as keys in the MetadataToID map during ThinLTO importing are not
RAUWed.

Add support for marking an MDNode as not replaceable. Clear the new
CanReplace flag when adding a temporary MD node to the MetadataToID map
and clear it when destroying the map.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256648 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-30 19:32:24 +00:00
..
Reader Ensure MDNode used as key in metadata linking map cannot be RAUWed 2015-12-30 19:32:24 +00:00
Writer Rename MDValue* to Metadata* (NFC) 2015-12-29 23:00:22 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile
module.modulemap