diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-04 03:06:50 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-04 03:06:50 +0000 |
commit | fca88631650af3e862f7df012f34d9c724a9ed7c (patch) | |
tree | 6a57d6ef1a0a48a2c6d63407c4db1cba3794422d /lib/Linker | |
parent | 105193772d84057493968310c1d1c6dd0f1ae735 (diff) |
Last batch of cleanups to Linker.h.
Update comments, fix * placement, fix method names that are not
used in clang, add a linkInModule that takes a Mode and put it
in Linker.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r-- | lib/Linker/Linker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp index ab99b98ee0..83c7160555 100644 --- a/lib/Linker/Linker.cpp +++ b/lib/Linker/Linker.cpp @@ -24,3 +24,7 @@ Linker::Linker(Module* aModule) : Linker::~Linker() { } + +bool Linker::linkInModule(Module *Src, unsigned Mode, std::string *ErrorMsg) { + return LinkModules(Composite, Src, Linker::DestroySource, ErrorMsg); +} |