From a20f858237a81569a78e05444813df4605ab07e0 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 19 Nov 2020 17:09:29 -0500 Subject: [PATCH] comment --- client/TracyProfiler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 12b7e59c..d9552ecb 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -2975,6 +2975,12 @@ MappingInfoVector ParseMappings() return result; } +// Takes as input an address range [start_address, end_address) and a +// known vector `mappings`, and returns as output-params a range +// of iterators into this `mappings` vector, containing the mappings that +// intersect that address range. +// Returns true if such a range of iterators exist, false otherwise +// (that is, if the input address range can't be covered by known mappings). bool GetMappingsRange(MappingInfoVector& mappings, std::uintptr_t start_address, std::uintptr_t end_address,