1 //===-- MemoryRegionInfo.cpp ------------------------------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #include "lldb/Target/MemoryRegionInfo.h" 10 11 llvm::raw_ostream &lldb_private::operator<<(llvm::raw_ostream &OS, 12 const MemoryRegionInfo &Info) { 13 return OS << llvm::formatv("MemoryRegionInfo([{0}, {1}), {2}, {3}, {4}, {5}, " 14 "`{6}`, {7}, {8})", 15 Info.GetRange().GetRangeBase(), 16 Info.GetRange().GetRangeEnd(), Info.GetReadable(), 17 Info.GetWritable(), Info.GetExecutable(), 18 Info.GetMapped(), Info.GetName(), Info.GetFlash(), 19 Info.GetBlocksize()); 20 } 21