Make it possible to use the linker without destroying the source module. This is...
authorTanya Lattner <tonic@nondot.org>
Tue, 11 Oct 2011 00:24:54 +0000 (00:24 +0000)
committerTanya Lattner <tonic@nondot.org>
Tue, 11 Oct 2011 00:24:54 +0000 (00:24 +0000)
commitf1f1a4f16128ffa2910f0b1d5c7052b3697f9fcd
tree8cff133c6dd3061600643273205cae6d25b9ace9
parentfad138dd79d025229433c9de90108df4eb81f4af
Make it possible to use the linker without destroying the source module. This is so the source module can be linked to multiple other destination modules. For all that used LinkModules() before, they will continue to destroy the source module as before.

This line, and those below, will be ignored--

M    include/llvm/Linker.h
M    tools/bugpoint/Miscompilation.cpp
M    tools/bugpoint/BugDriver.cpp
M    tools/llvm-link/llvm-link.cpp
M    lib/Linker/LinkModules.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141606 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Linker.h
lib/Linker/LinkModules.cpp
tools/bugpoint/BugDriver.cpp
tools/bugpoint/Miscompilation.cpp
tools/llvm-link/llvm-link.cpp