LLVM 20.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFDataExtractor.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cinttypes>
#include <cstdint>
#include <optional>
Go to the source code of this file.
Macros | |
#define | ENUM_TO_CSTR(e) |
#define | DECLARE_OP3(OP, OPTYPE0, OPTYPE1, OPTYPE2) |
#define | DECLARE_OP2(OP, OPTYPE0, OPTYPE1) DECLARE_OP3(OP, OPTYPE0, OPTYPE1, OT_None) |
#define | DECLARE_OP1(OP, OPTYPE0) DECLARE_OP2(OP, OPTYPE0, OT_None) |
#define | DECLARE_OP0(OP) DECLARE_OP1(OP, OT_None) |
Functions | |
static void | printRegister (raw_ostream &OS, DIDumpOptions DumpOpts, unsigned RegNum) |
constexpr uint64_t | getCIEId (bool IsDWARF64, bool IsEH) |
static void LLVM_ATTRIBUTE_UNUSED | dumpDataAux (DataExtractor Data, uint64_t Offset, int Length) |
Variables | |
const uint8_t | DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0 |
const uint8_t | DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f |
#define DECLARE_OP0 | ( | OP | ) | DECLARE_OP1(OP, OT_None) |
#define DECLARE_OP1 | ( | OP, | |
OPTYPE0 | |||
) | DECLARE_OP2(OP, OPTYPE0, OT_None) |
#define DECLARE_OP2 | ( | OP, | |
OPTYPE0, | |||
OPTYPE1 | |||
) | DECLARE_OP3(OP, OPTYPE0, OPTYPE1, OT_None) |
#define DECLARE_OP3 | ( | OP, | |
OPTYPE0, | |||
OPTYPE1, | |||
OPTYPE2 | |||
) |
#define ENUM_TO_CSTR | ( | e | ) |
|
static |
Definition at line 1035 of file DWARFDebugFrame.cpp.
References llvm::Data, llvm::errs(), llvm::Length, llvm::Offset, and llvm::raw_ostream::write_hex().
Definition at line 945 of file DWARFDebugFrame.cpp.
References llvm::dwarf::DW64_CIE_ID, and llvm::dwarf::DW_CIE_ID.
Referenced by llvm::dwarf::CIE::dump(), and llvm::DWARFDebugFrame::parse().
|
static |
Definition at line 31 of file DWARFDebugFrame.cpp.
References llvm::DIDumpOptions::GetNameForDWARFReg, llvm::DIDumpOptions::IsEH, OS, and RegName.
Referenced by llvm::dwarf::UnwindLocation::dump(), and llvm::dwarf::RegisterLocations::dump().
const uint8_t DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0 |
Definition at line 252 of file DWARFDebugFrame.cpp.
Referenced by llvm::dwarf::CFIProgram::parse().
const uint8_t DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f |
Definition at line 253 of file DWARFDebugFrame.cpp.
Referenced by llvm::dwarf::CFIProgram::parse().