aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Common/getMappedArea.h
blob: 051ff51f2382196bf350981075b7a6c3fa572619 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include <utility>
#include <cstddef>


namespace DB
{

/// Find the address and size of the mapped memory region pointed by ptr.
/// Throw exception if not found.
std::pair<void *, size_t> getMappedArea(void * ptr);

}