LLVM 24.0.0git
DWARFExpressionUnit.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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#ifndef LLVM_DEBUGINFO_DWARF_DWARFEXPRESSIONUNIT_H
10#define LLVM_DEBUGINFO_DWARF_DWARFEXPRESSIONUNIT_H
11
12#include "llvm/ADT/ArrayRef.h"
15
16namespace llvm {
17
18class DWARFUnit;
19struct DIDumpOptions;
20class raw_ostream;
21
22/// Print a Dwarf expression.
23/// \param E to be printed
24/// \param OS to this stream
25/// \param DumpOpts with these options
26/// \param U within the context of this Dwarf unit, if any.
28 DIDumpOptions DumpOpts, DWARFUnit *U,
29 bool IsEH = false);
30
31/// Pretty print a register opcode and operands.
32/// \param U within the context of this Dwarf unit, if any.
33/// \param OS to this stream
34/// \param DumpOpts with these options
35/// \param Opcode to print
36/// \param Operands to the opcode
37///
38/// returns true if the Op was successfully printed
40 DIDumpOptions DumpOpts, uint8_t Opcode,
42
43} // end namespace llvm
44
45#endif // LLVM_DEBUGINFO_DWARF_DWARFEXPRESSIONUNIT_H
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
#define LLVM_ABI
Definition Compiler.h:211
SI Fold Operands
Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition ArrayRef.h:40
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.
LLVM_ABI void printDwarfExpression(const DWARFExpression *E, raw_ostream &OS, DIDumpOptions DumpOpts, bool IsEH=false)
Print a Dwarf expression.
LLVM_ABI bool prettyPrintRegisterOp(DWARFUnit *U, raw_ostream &OS, DIDumpOptions DumpOpts, uint8_t Opcode, ArrayRef< uint64_t > Operands)
Pretty print a register opcode and operands.
Container for dump options that control which debug information will be dumped.
Definition DIContext.h:197