diff options
-rw-r--r-- | tools/lto/LTOModule.cpp | 2 | ||||
-rw-r--r-- | tools/lto/LTOModule.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index 66dc090595..8aea405983 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -668,8 +668,6 @@ static bool isAliasToDeclaration(const GlobalAlias &V) { } bool LTOModule::ParseSymbols(std::string &errMsg) { - // Use mangler to add GlobalPrefix to names to match linker names. - // add functions for (Module::iterator f = _module->begin(); f != _module->end(); ++f) { if (isDeclaration(*f)) diff --git a/tools/lto/LTOModule.h b/tools/lto/LTOModule.h index c5f83ee302..35a0935162 100644 --- a/tools/lto/LTOModule.h +++ b/tools/lto/LTOModule.h @@ -115,6 +115,7 @@ private: llvm::StringMap<NameAndAttributes> _undefines; std::vector<const char*> _asm_undefines; llvm::MCContext _context; + // Use mangler to add GlobalPrefix to names to match linker names. llvm::Mangler _mangler; }; |