CommandLineModuleMap::const_iterator CommandLineModuleManager::Impl::findModuleFromBinaryName( const ProgramInfo &programInfo) const { std::string binaryName = programInfo.invariantProgramName(); if (binaryName == programInfo.realBinaryName()) { return modules_.end(); } if (binaryName.compare(0, 2, "g_") == 0) { binaryName.erase(0, 2); } return findModuleByName(binaryName); }