#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "Plugins/Process/Utility/LinuxProcMaps.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Utility/Status.h"
#include <tuple>
usingnamespacelldb_private;
LinuxProcMapsTestParams;
static MemoryRegionInfo::RangeType make_range(lldb::addr_t begin,
lldb::addr_t end) { … }
class LinuxProcMapsTestFixture
: public ::testing::TestWithParam<LinuxProcMapsTestParams> { … };
TEST_P(LinuxProcMapsTestFixture, ParseMapRegions) { … }
INSTANTIATE_TEST_SUITE_P(…);
class LinuxProcSMapsTestFixture : public LinuxProcMapsTestFixture { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(LinuxProcSMapsTestFixture, ParseSMapRegions) { … }