IR: Add MDCompileUnit::replace*()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 18 Feb 2015 20:36:09 +0000 (20:36 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 18 Feb 2015 20:36:09 +0000 (20:36 +0000)
commit70ee038129a5a241c339c245bf1e165310baf990
treec5e4e5d15fb02aa64cdb58130574696bd60d6836
parenta9d82a512ff65b334a4619761c4a1ef5856725f5
IR: Add MDCompileUnit::replace*()

Add `MDCompileUnit::replaceGlobalVariables()` and
`MDCompileUnit::replaceSubprograms()`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229743 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfoMetadata.h
unittests/IR/MetadataTest.cpp