ClickHouse/src/Common/getMappedArea.h
2020-10-10 21:37:02 +03:00

14 lines
233 B
C++

#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);
}