From 24c5b368417d80baf4d10e691d4ac2d180fe2156 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 4 Nov 2011 09:34:06 +0000 Subject: [PATCH] Move comment to the correct place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143690 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lto/LTOModule.cpp | 2 -- tools/lto/LTOModule.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index 66dc0905951..8aea405983a 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 c5f83ee3021..35a09351628 100644 --- a/tools/lto/LTOModule.h +++ b/tools/lto/LTOModule.h @@ -115,6 +115,7 @@ private: llvm::StringMap _undefines; std::vector _asm_undefines; llvm::MCContext _context; + // Use mangler to add GlobalPrefix to names to match linker names. llvm::Mangler _mangler; }; -- 2.34.1