aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-11-04 09:34:06 +0000
committerStephen Hines <srhines@google.com>2011-11-14 09:11:46 -0800
commit80319f79ae42b4227ab1bccb228d622f17094795 (patch)
tree7116e9ded4c0da1a91fad2a90718b056001dc9f7 /tools
parent56da11dd15fe47cfb5a352378be34c45d99bceb6 (diff)
downloadexternal_llvm-80319f79ae42b4227ab1bccb228d622f17094795.zip
external_llvm-80319f79ae42b4227ab1bccb228d622f17094795.tar.gz
external_llvm-80319f79ae42b4227ab1bccb228d622f17094795.tar.bz2
Move comment to the correct place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/lto/LTOModule.cpp2
-rw-r--r--tools/lto/LTOModule.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp
index 66dc090..8aea405 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 c5f83ee..35a0935 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;
};