Move comment to the correct place.
authorBill Wendling <isanbard@gmail.com>
Fri, 4 Nov 2011 09:34:06 +0000 (09:34 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 4 Nov 2011 09:34:06 +0000 (09:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143690 91177308-0d34-0410-b5e6-96231b3b80d8

tools/lto/LTOModule.cpp
tools/lto/LTOModule.h

index 66dc0905951adaba05a402b94003e6b376bd7e76..8aea405983a973a64c271909338c795fdde4a42d 100644 (file)
@@ -668,8 +668,6 @@ static bool isAliasToDeclaration(const GlobalAlias &V) {
 }
 
 bool LTOModule::ParseSymbols(std::string &errMsg) {
 }
 
 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))
   // add functions
   for (Module::iterator f = _module->begin(); f != _module->end(); ++f) {
     if (isDeclaration(*f))
index c5f83ee3021cea0cd86e4c1a80f90e03d3999bcf..35a0935162837190e79ed0deaf37becf81c77d28 100644 (file)
@@ -115,6 +115,7 @@ private:
     llvm::StringMap<NameAndAttributes>      _undefines;
     std::vector<const char*>                _asm_undefines;
     llvm::MCContext                         _context;
     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;
 };
 
     llvm::Mangler                           _mangler;
 };