Lines Matching defs:mapping
276 // If there is caller-provided information about this mapping
278 bool HaveMappingInfo(const MappingInfo& mapping) {
284 if (mapping.start_addr >= iter->first.start_addr &&
285 (mapping.start_addr + mapping.size) <=
293 // Dump information about the provided |mapping|. If |identifier| is non-NULL,
294 // use it instead of calculating a file ID from the mapping.
295 void DumpModule(const MappingInfo& mapping,
305 mapping,
314 mapping, file_path, sizeof(file_path), file_name, sizeof(file_name));
317 LogAppend(static_cast<uintptr_t>(mapping.start_addr));
319 LogAppend(mapping.offset);
321 LogAppend(mapping.size);
343 const MappingInfo& mapping = *dumper_->mappings()[i];
344 if (mapping.name[0] == 0 || // only want modules with filenames.
345 !mapping.exec || // only want executable mappings.
346 mapping.size < 4096 || // too small to get a signature for.
347 HaveMappingInfo(mapping)) {
351 DumpModule(mapping, true, i, NULL);