Copy metadata when value is RAUW'd. It is debatable whether this is the right approac...
authorDevang Patel <dpatel@apple.com>
Tue, 13 Oct 2009 17:00:54 +0000 (17:00 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 13 Oct 2009 17:00:54 +0000 (17:00 +0000)
commit740d0db812a31a8df4ff1b7d6cfb25a3725f5e01
tree220dfe27c3e4ef478a13b1bcc4a8d40a1f65f9e0
parent39a38ae529e8e8bf92edf4cd39e16be57f59406a
Copy metadata when value is RAUW'd. It is debatable whether this is the right approach for custom metadata data in general. However, right now the only custom data user, "dbg", expects this behavior while FE is constructing llvm IR with debug info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83977 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
lib/VMCore/Metadata.cpp
lib/VMCore/Value.cpp