summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-04 02:43:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-04 02:43:00 +0000
commit105193772d84057493968310c1d1c6dd0f1ae735 (patch)
tree49b0aa2d644fe8c7bfb1555b783433b6c55fafcf /include
parentbcc6ac93bae207431efff90dfb3e741ffdf11469 (diff)
downloadllvm-105193772d84057493968310c1d1c6dd0f1ae735.tar.gz
llvm-105193772d84057493968310c1d1c6dd0f1ae735.tar.bz2
llvm-105193772d84057493968310c1d1c6dd0f1ae735.tar.xz
Don't construct or delete a module on the Linker.
The linker is now responsible only for actually linking the modules, it is up to the clients to create and destroy them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Linker.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h
index 6761b8e68e..b199a34cbf 100644
--- a/include/llvm/Linker.h
+++ b/include/llvm/Linker.h
@@ -44,13 +44,6 @@ class Linker {
/// @name Constructors
/// @{
public:
- /// Construct the Linker with an empty module which will be given the
- /// name \p progname. \p progname will also be used for error messages.
- /// @brief Construct with empty module
- Linker(StringRef modulename, ///< name of linker's end-result module
- LLVMContext &C ///< Context for global info
- );
-
/// Construct the Linker with a previously defined module, \p aModule. Use
/// \p progname for the name of the program in error messages.
/// @brief Construct with existing module