Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
DWARFAddressRange.cpp
Go to the documentation of this file.
1//===- DWARFDebugAranges.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
13
14using namespace llvm;
15
17 DIDumpOptions DumpOpts,
18 const DWARFObject *Obj) const {
19
20 OS << (DumpOpts.DisplayRawContents ? " " : "[");
21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC);
22 OS << ", ";
23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC);
24 OS << (DumpOpts.DisplayRawContents ? "" : ")");
25
26 if (Obj)
28}
29
31 R.dump(OS, /* AddressSize */ 8);
32 return OS;
33}
static LLVM_ABI void dumpAddressSection(const DWARFObject &Obj, raw_ostream &OS, DIDumpOptions DumpOpts, uint64_t SectionIndex)
LLVM_ABI void dumpAddress(raw_ostream &OS, uint64_t Address) const
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)
Container for dump options that control which debug information will be dumped.
Definition DIContext.h:196
LLVM_ABI void dump(raw_ostream &OS, uint32_t AddressSize, DIDumpOptions DumpOpts={}, const DWARFObject *Obj=nullptr) const