LLVM  8.0.1
Macros | Functions | Variables
DWARFDebugFrame.cpp File Reference
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/Support/Casting.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 <string>
#include <vector>
Include dependency graph for DWARFDebugFrame.cpp:

Go to the source code of this file.

Macros

#define DECLARE_OP2(OP, OPTYPE0, OPTYPE1)
 
#define DECLARE_OP1(OP, OPTYPE0)   DECLARE_OP2(OP, OPTYPE0, OT_None)
 
#define DECLARE_OP0(OP)   DECLARE_OP1(OP, OT_None)
 

Functions

static void LLVM_ATTRIBUTE_UNUSED dumpDataAux (DataExtractor Data, uint32_t Offset, int Length)
 
static void LLVM_ATTRIBUTE_NORETURN ReportError (uint32_t StartOffset, const char *ErrorMsg)
 

Variables

const uint8_t DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0
 
const uint8_t DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f
 

Macro Definition Documentation

◆ DECLARE_OP0

#define DECLARE_OP0 (   OP)    DECLARE_OP1(OP, OT_None)

◆ DECLARE_OP1

#define DECLARE_OP1 (   OP,
  OPTYPE0 
)    DECLARE_OP2(OP, OPTYPE0, OT_None)

◆ DECLARE_OP2

#define DECLARE_OP2 (   OP,
  OPTYPE0,
  OPTYPE1 
)
Value:
do { \
OpTypes[OP][0] = OPTYPE0; \
OpTypes[OP][1] = OPTYPE1; \
} while (false)
#define OP(n)
Definition: regex2.h:73

Referenced by llvm::dwarf::CFIProgram::parse().

Function Documentation

◆ dumpDataAux()

static void LLVM_ATTRIBUTE_UNUSED dumpDataAux ( DataExtractor  Data,
uint32_t  Offset,
int  Length 
)
static

◆ ReportError()

static void LLVM_ATTRIBUTE_NORETURN ReportError ( uint32_t  StartOffset,
const char ErrorMsg 
)
static

Variable Documentation

◆ DWARF_CFI_PRIMARY_OPCODE_MASK

const uint8_t DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0

◆ DWARF_CFI_PRIMARY_OPERAND_MASK

const uint8_t DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f

Definition at line 36 of file DWARFDebugFrame.cpp.

Referenced by llvm::dwarf::CFIProgram::parse().