Lines Matching full:regions
259 std::vector<MemoryRegionInfo> ®ions) { in CreateRegionsCacheFromLinuxMaps() argument
267 [®ions, &log](llvm::Expected<MemoryRegionInfo> region) -> bool { in CreateRegionsCacheFromLinuxMaps()
269 regions.push_back(*region); in CreateRegionsCacheFromLinuxMaps()
275 return !regions.empty(); in CreateRegionsCacheFromLinuxMaps()
278 /// Check for the memory regions starting at \a load_addr for a contiguous
284 /// regions for a section that has execute permissions. A sample maps files
311 /// The path to the module to check for in the memory regions. Only sequential
312 /// memory regions whose paths match this path will be considered when looking
315 /// \param[in] regions
316 /// A sorted list of memory regions obtained from a call to
325 /// \a regions is empty or if there are no regions with execute permissions
329 const MemoryRegionInfos ®ions, in CheckForLinuxExecutable() argument
331 if (regions.empty()) in CheckForLinuxExecutable()
334 MemoryRegionInfo region = MinidumpParser::GetMemoryRegionInfo(regions, addr); in CheckForLinuxExecutable()
339 region = MinidumpParser::GetMemoryRegionInfo(regions, addr); in CheckForLinuxExecutable()
353 // Create memory regions from the linux maps only. We do this to avoid issues in GetFilteredModuleList()
390 // We have a duplicate module entry. Check the linux regions to see if in GetFilteredModuleList()
397 // memory regions. in GetFilteredModuleList()
517 std::vector<MemoryRegionInfo> ®ions) { in CreateRegionsCacheFromMemoryInfoList() argument
547 regions.push_back(region); in CreateRegionsCacheFromMemoryInfoList()
549 return !regions.empty(); in CreateRegionsCacheFromMemoryInfoList()
554 std::vector<MemoryRegionInfo> ®ions) { in CreateRegionsCacheFromMemoryList() argument
562 regions.reserve(ExpectedMemory->size()); in CreateRegionsCacheFromMemoryList()
571 regions.push_back(region); in CreateRegionsCacheFromMemoryList()
573 regions.shrink_to_fit(); in CreateRegionsCacheFromMemoryList()
574 return !regions.empty(); in CreateRegionsCacheFromMemoryList()
579 std::vector<MemoryRegionInfo> ®ions) { in CreateRegionsCacheFromMemory64List() argument
592 regions.reserve(memory64_list.size()); in CreateRegionsCacheFromMemory64List()
601 regions.push_back(region); in CreateRegionsCacheFromMemory64List()
603 regions.shrink_to_fit(); in CreateRegionsCacheFromMemory64List()
604 return !regions.empty(); in CreateRegionsCacheFromMemory64List()
610 // regions. Next we try the MemoryInfoList since it has in BuildMemoryRegions()
687 MinidumpParser::GetMemoryRegionInfo(const MemoryRegionInfos ®ions, in GetMemoryRegionInfo() argument
690 auto pos = llvm::upper_bound(regions, load_addr); in GetMemoryRegionInfo()
691 if (pos != regions.begin() && in GetMemoryRegionInfo()
696 if (pos == regions.begin()) in GetMemoryRegionInfo()
701 if (pos == regions.end()) in GetMemoryRegionInfo()