|
LLVM
3.7.0
|
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/SmallString.h"#include "llvm/Support/Casting.h"#include "llvm/Support/DataTypes.h"#include "llvm/Support/Dwarf.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/Format.h"#include "llvm/Support/raw_ostream.h"#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | llvm::FrameEntry |
| Abstract frame entry defining the common interface concrete entries implement. More... | |
| struct | llvm::FrameEntry::Instruction |
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) |
Enumerations | |
| enum | OperandType |
| Types of operands to CF instructions. More... | |
Functions | |
| static ArrayRef< OperandType[2]> | getOperandTypes () |
| Initialize the array describing the types of operands. More... | |
| static void | printOperand (raw_ostream &OS, uint8_t Opcode, unsigned OperandIdx, uint64_t Operand, uint64_t CodeAlignmentFactor, int64_t DataAlignmentFactor) |
Print Opcode's operand number OperandIdx which has value Operand. More... | |
| static void LLVM_ATTRIBUTE_UNUSED | dumpDataAux (DataExtractor Data, uint32_t Offset, int Length) |
Variables | |
| const uint8_t | DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0 |
| const uint8_t | DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f |
| static ArrayRef< OperandType[2]> | OpTypes = getOperandTypes() |
| #define DECLARE_OP0 | ( | OP | ) | DECLARE_OP1(OP, OT_None) |
Referenced by getOperandTypes().
| #define DECLARE_OP1 | ( | OP, | |
| OPTYPE0 | |||
| ) | DECLARE_OP2(OP, OPTYPE0, OT_None) |
Referenced by getOperandTypes().
| #define DECLARE_OP2 | ( | OP, | |
| OPTYPE0, | |||
| OPTYPE1 | |||
| ) |
Referenced by getOperandTypes().
| enum OperandType |
Types of operands to CF instructions.
Definition at line 284 of file DWARFDebugFrame.cpp.
|
static |
Definition at line 432 of file DWARFDebugFrame.cpp.
References llvm::errs(), llvm::DataExtractor::getU8(), and llvm::raw_ostream::write_hex().
|
static |
Initialize the array describing the types of operands.
Definition at line 299 of file DWARFDebugFrame.cpp.
References DECLARE_OP0, DECLARE_OP1, DECLARE_OP2, llvm::dwarf::DW_CFA_advance_loc, llvm::dwarf::DW_CFA_advance_loc1, llvm::dwarf::DW_CFA_advance_loc2, llvm::dwarf::DW_CFA_advance_loc4, llvm::dwarf::DW_CFA_def_cfa, llvm::dwarf::DW_CFA_def_cfa_expression, llvm::dwarf::DW_CFA_def_cfa_offset, llvm::dwarf::DW_CFA_def_cfa_offset_sf, llvm::dwarf::DW_CFA_def_cfa_register, llvm::dwarf::DW_CFA_def_cfa_sf, llvm::dwarf::DW_CFA_expression, llvm::dwarf::DW_CFA_GNU_args_size, llvm::dwarf::DW_CFA_GNU_window_save, llvm::dwarf::DW_CFA_MIPS_advance_loc8, llvm::dwarf::DW_CFA_nop, llvm::dwarf::DW_CFA_offset, llvm::dwarf::DW_CFA_offset_extended, llvm::dwarf::DW_CFA_offset_extended_sf, llvm::dwarf::DW_CFA_register, llvm::dwarf::DW_CFA_remember_state, llvm::dwarf::DW_CFA_restore, llvm::dwarf::DW_CFA_restore_extended, llvm::dwarf::DW_CFA_restore_state, llvm::dwarf::DW_CFA_same_value, llvm::dwarf::DW_CFA_set_loc, llvm::dwarf::DW_CFA_undefined, llvm::dwarf::DW_CFA_val_expression, llvm::dwarf::DW_CFA_val_offset, llvm::dwarf::DW_CFA_val_offset_sf, and OpTypes.
|
static |
Print Opcode's operand number OperandIdx which has value Operand.
Definition at line 350 of file DWARFDebugFrame.cpp.
References llvm::dwarf::CallFrameString(), llvm::format(), and OpTypes.
Referenced by llvm::FrameEntry::dumpInstructions().
| const uint8_t DWARF_CFI_PRIMARY_OPCODE_MASK = 0xc0 |
Definition at line 97 of file DWARFDebugFrame.cpp.
Referenced by llvm::FrameEntry::dumpInstructions(), and llvm::FrameEntry::parseInstructions().
| const uint8_t DWARF_CFI_PRIMARY_OPERAND_MASK = 0x3f |
Definition at line 98 of file DWARFDebugFrame.cpp.
Referenced by llvm::FrameEntry::parseInstructions().
|
static |
Definition at line 346 of file DWARFDebugFrame.cpp.
Referenced by getOperandTypes(), and printOperand().
1.8.6