summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-04 03:06:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-04 03:06:50 +0000
commitfca88631650af3e862f7df012f34d9c724a9ed7c (patch)
tree6a57d6ef1a0a48a2c6d63407c4db1cba3794422d /tools
parent105193772d84057493968310c1d1c6dd0f1ae735 (diff)
downloadexternal_llvm-fca88631650af3e862f7df012f34d9c724a9ed7c.zip
external_llvm-fca88631650af3e862f7df012f34d9c724a9ed7c.tar.gz
external_llvm-fca88631650af3e862f7df012f34d9c724a9ed7c.tar.bz2
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 'tools')
-rw-r--r--tools/lto/LTOCodeGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index de2c1fd..57e7a2d 100644
--- a/tools/lto/LTOCodeGenerator.cpp
+++ b/tools/lto/LTOCodeGenerator.cpp
@@ -89,7 +89,7 @@ LTOCodeGenerator::~LTOCodeGenerator() {
}
bool LTOCodeGenerator::addModule(LTOModule* mod, std::string& errMsg) {
- bool ret = _linker.LinkInModule(mod->getLLVVMModule(), &errMsg);
+ bool ret = _linker.linkInModule(mod->getLLVVMModule(), &errMsg);
const std::vector<const char*> &undefs = mod->getAsmUndefinedRefs();
for (int i = 0, e = undefs.size(); i != e; ++i)