mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
comment
This commit is contained in:
parent
3721d63f9f
commit
a20f858237
@ -2975,6 +2975,12 @@ MappingInfoVector ParseMappings()
|
|||||||
return result;
|
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,
|
bool GetMappingsRange(MappingInfoVector& mappings,
|
||||||
std::uintptr_t start_address,
|
std::uintptr_t start_address,
|
||||||
std::uintptr_t end_address,
|
std::uintptr_t end_address,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user