When GenFvMap tool doesn't open one module map file, it will skip this module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2007-01-26 05:56:49 +00:00
parent b79fc8357f
commit 60ad347998
1 changed files with 9 additions and 3 deletions

View File

@ -344,9 +344,15 @@ CFvMapFile::CFvMapFile(const CIdAddressPathMap& idAddrPath)
if (i->second.second == "*")
continue;
pair<iterator, bool> r = insert(value_type(i->first,
new CMapFile(i->second.second.substr(0, i->second.second.rfind('.')) + ".map")));
r.first->second->SetLoadAddress(i->second.first);
try
{
pair<iterator, bool> r = insert(value_type(i->first,
new CMapFile(i->second.second.substr(0, i->second.second.rfind('.')) + ".map")));
r.first->second->SetLoadAddress(i->second.first);
}
catch (const runtime_error& e)
{
}
}
}