mirror of https://github.com/acidanthera/audk.git
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:
parent
b79fc8357f
commit
60ad347998
|
@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue