ClickHouse/src/Common/getMappedArea.h

14 lines
233 B
C++
Raw Normal View History

2020-10-10 18:37:02 +00:00
#pragma once
2020-09-17 12:53:52 +00:00
#include <utility>
2020-09-17 18:15:19 +00:00
#include <cstddef>
2020-09-17 12:53:52 +00:00
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);
}