1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Move comment to the correct place.

llvm-svn: 143690
This commit is contained in:
Bill Wendling 2011-11-04 09:34:06 +00:00
parent c339c04e2e
commit 510b538e32
2 changed files with 1 additions and 2 deletions

View 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 // add functions
for (Module::iterator f = _module->begin(); f != _module->end(); ++f) { for (Module::iterator f = _module->begin(); f != _module->end(); ++f) {
if (isDeclaration(*f)) if (isDeclaration(*f))

View File

@ -115,6 +115,7 @@ private:
llvm::StringMap<NameAndAttributes> _undefines; llvm::StringMap<NameAndAttributes> _undefines;
std::vector<const char*> _asm_undefines; std::vector<const char*> _asm_undefines;
llvm::MCContext _context; llvm::MCContext _context;
// Use mangler to add GlobalPrefix to names to match linker names.
llvm::Mangler _mangler; llvm::Mangler _mangler;
}; };