LLVM API Documentation
Classes | |
struct | PubIndexEntryDescriptor |
Functions | |
enum LLVMConstants | LLVM_ENUM_INT_TYPE (uint32_t) |
enum Tag | LLVM_ENUM_INT_TYPE (uint16_t) |
bool | isType (Tag T) |
const char * | TagString (unsigned Tag) |
const char * | ChildrenString (unsigned Children) |
const char * | AttributeString (unsigned Attribute) |
const char * | FormEncodingString (unsigned Encoding) |
const char * | OperationEncodingString (unsigned Encoding) |
const char * | AttributeEncodingString (unsigned Encoding) |
const char * | DecimalSignString (unsigned Sign) |
const char * | EndianityString (unsigned Endian) |
const char * | AccessibilityString (unsigned Access) |
const char * | VisibilityString (unsigned Visibility) |
const char * | VirtualityString (unsigned Virtuality) |
const char * | LanguageString (unsigned Language) |
const char * | CaseString (unsigned Case) |
const char * | ConventionString (unsigned Convention) |
const char * | InlineCodeString (unsigned Code) |
const char * | ArrayOrderString (unsigned Order) |
const char * | DiscriminantString (unsigned Discriminant) |
const char * | LNStandardString (unsigned Standard) |
const char * | LNExtendedString (unsigned Encoding) |
const char * | MacinfoString (unsigned Encoding) |
const char * | CallFrameString (unsigned Encoding) |
const char * | AtomTypeString (unsigned Atom) |
AtomTypeString - Return the string for the specified Atom type. More... | |
const char * | GDBIndexEntryKindString (GDBIndexEntryKind Kind) |
const char * | GDBIndexEntryLinkageString (GDBIndexEntryLinkage Linkage) |
Variables | |
const uint32_t | DW_CIE_ID = UINT32_MAX |
const uint64_t | DW64_CIE_ID = UINT64_MAX |
const char * llvm::dwarf::AccessibilityString | ( | unsigned | Access | ) |
AccessibilityString - Return the string for the specified accessibility.
Definition at line 524 of file Dwarf.cpp.
References DW_ACCESS_private, DW_ACCESS_protected, and DW_ACCESS_public.
Referenced by llvm::DwarfDebug::emitDIE().
const char * llvm::dwarf::ArrayOrderString | ( | unsigned | Order | ) |
ArrayOrderString - Return the string for the specified array order.
Definition at line 624 of file Dwarf.cpp.
References DW_ORD_col_major, and DW_ORD_row_major.
const char * llvm::dwarf::AtomTypeString | ( | unsigned | Atom | ) |
AtomTypeString - Return the string for the specified Atom type.
Definition at line 730 of file Dwarf.cpp.
References DW_ATOM_cu_offset, DW_ATOM_die_offset, DW_ATOM_die_tag, DW_ATOM_null, and DW_ATOM_type_flags.
Referenced by llvm::DwarfAccelTable::Atom::print().
const char * llvm::dwarf::AttributeEncodingString | ( | unsigned | Encoding | ) |
AttributeEncodingString - Return the string for the specified attribute encoding.
Definition at line 472 of file Dwarf.cpp.
References DW_ATE_address, DW_ATE_boolean, DW_ATE_complex_float, DW_ATE_decimal_float, DW_ATE_edited, DW_ATE_float, DW_ATE_hi_user, DW_ATE_imaginary_float, DW_ATE_lo_user, DW_ATE_numeric_string, DW_ATE_packed_decimal, DW_ATE_signed, DW_ATE_signed_char, DW_ATE_signed_fixed, DW_ATE_unsigned, DW_ATE_unsigned_char, DW_ATE_unsigned_fixed, and DW_ATE_UTF.
Referenced by llvm::DIType::printInternal().
const char * llvm::dwarf::AttributeString | ( | unsigned | Attribute | ) |
AttributeString - Return the string for the specified attribute.
Definition at line 115 of file Dwarf.cpp.
Referenced by llvm::DWARFAbbreviationDeclaration::dump(), llvm::DWARFDebugInfoEntryMinimal::dumpAttribute(), llvm::DIEAbbrev::Emit(), llvm::DwarfDebug::emitDIE(), llvm::DIEAbbrev::print(), and llvm::DIE::print().
const char * llvm::dwarf::CallFrameString | ( | unsigned | Encoding | ) |
CallFrameString - Return the string for the specified call frame instruction encodings.
Definition at line 693 of file Dwarf.cpp.
References DW_CFA_advance_loc, DW_CFA_advance_loc1, DW_CFA_advance_loc2, DW_CFA_advance_loc4, DW_CFA_def_cfa, DW_CFA_def_cfa_expression, DW_CFA_def_cfa_offset, DW_CFA_def_cfa_offset_sf, DW_CFA_def_cfa_register, DW_CFA_def_cfa_sf, DW_CFA_expression, DW_CFA_GNU_args_size, DW_CFA_GNU_window_save, DW_CFA_hi_user, DW_CFA_lo_user, DW_CFA_MIPS_advance_loc8, DW_CFA_nop, DW_CFA_offset, DW_CFA_offset_extended, DW_CFA_offset_extended_sf, DW_CFA_register, DW_CFA_remember_state, DW_CFA_restore, DW_CFA_restore_extended, DW_CFA_restore_state, DW_CFA_same_value, DW_CFA_set_loc, DW_CFA_undefined, DW_CFA_val_expression, DW_CFA_val_offset, and DW_CFA_val_offset_sf.
Referenced by llvm::FrameEntry::dumpInstructions(), and llvm::AsmPrinter::EmitCFAByte().
const char * llvm::dwarf::CaseString | ( | unsigned | Case | ) |
CaseString - Return the string for the specified identifier case.
Definition at line 587 of file Dwarf.cpp.
References DW_ID_case_insensitive, DW_ID_case_sensitive, DW_ID_down_case, and DW_ID_up_case.
const char * llvm::dwarf::ChildrenString | ( | unsigned | Children | ) |
ChildrenString - Return the string for the specified children flag.
Definition at line 105 of file Dwarf.cpp.
References DW_CHILDREN_no, and DW_CHILDREN_yes.
Referenced by llvm::DIEAbbrev::Emit(), llvm::DIEAbbrev::print(), and llvm::DIE::print().
const char * llvm::dwarf::ConventionString | ( | unsigned | Convention | ) |
ConventionString - Return the string for the specified calling convention.
Definition at line 599 of file Dwarf.cpp.
References DW_CC_hi_user, DW_CC_lo_user, DW_CC_nocall, DW_CC_normal, and DW_CC_program.
const char * llvm::dwarf::DecimalSignString | ( | unsigned | Sign | ) |
DecimalSignString - Return the string for the specified decimal sign attribute.
Definition at line 498 of file Dwarf.cpp.
References DW_DS_leading_overpunch, DW_DS_leading_separate, DW_DS_trailing_overpunch, DW_DS_trailing_separate, and DW_DS_unsigned.
const char * llvm::dwarf::DiscriminantString | ( | unsigned | Discriminant | ) |
DiscriminantString - Return the string for the specified discriminant descriptor.
Definition at line 634 of file Dwarf.cpp.
References DW_DSC_label, and DW_DSC_range.
const char * llvm::dwarf::EndianityString | ( | unsigned | Endian | ) |
EndianityString - Return the string for the specified endianity.
Definition at line 511 of file Dwarf.cpp.
References DW_END_big, DW_END_default, DW_END_hi_user, DW_END_little, and DW_END_lo_user.
const char * llvm::dwarf::FormEncodingString | ( | unsigned | Encoding | ) |
FormEncodingString - Return the string for the specified form encoding.
Definition at line 266 of file Dwarf.cpp.
Referenced by llvm::DWARFAbbreviationDeclaration::dump(), llvm::DWARFDebugInfoEntryMinimal::dumpAttribute(), llvm::DIEAbbrev::Emit(), llvm::DIEAbbrev::print(), llvm::DwarfAccelTable::Atom::print(), and llvm::DIE::print().
const char * llvm::dwarf::GDBIndexEntryKindString | ( | GDBIndexEntryKind | Kind | ) |
Definition at line 746 of file Dwarf.cpp.
References GIEK_FUNCTION, GIEK_NONE, GIEK_OTHER, GIEK_TYPE, GIEK_UNUSED5, GIEK_UNUSED6, GIEK_UNUSED7, GIEK_VARIABLE, and llvm_unreachable.
Referenced by dumpPubSection().
const char * llvm::dwarf::GDBIndexEntryLinkageString | ( | GDBIndexEntryLinkage | Linkage | ) |
Definition at line 768 of file Dwarf.cpp.
References GIEL_EXTERNAL, GIEL_STATIC, and llvm_unreachable.
Referenced by dumpPubSection().
const char * llvm::dwarf::InlineCodeString | ( | unsigned | Code | ) |
InlineCodeString - Return the string for the specified inline code.
Definition at line 612 of file Dwarf.cpp.
References DW_INL_declared_inlined, DW_INL_declared_not_inlined, DW_INL_inlined, and DW_INL_not_inlined.
|
inline |
Definition at line 144 of file Dwarf.h.
Referenced by llvm::DIScope::getContext(), llvm::DIScope::getName(), llvm::DIDescriptor::isScope(), and llvm::DIType::Verify().
const char * llvm::dwarf::LanguageString | ( | unsigned | Language | ) |
LanguageString - Return the string for the specified language.
Definition at line 558 of file Dwarf.cpp.
References DW_LANG_Ada83, DW_LANG_Ada95, DW_LANG_C, DW_LANG_C89, DW_LANG_C99, DW_LANG_C_plus_plus, DW_LANG_Cobol74, DW_LANG_Cobol85, DW_LANG_D, DW_LANG_Fortran77, DW_LANG_Fortran90, DW_LANG_Fortran95, DW_LANG_hi_user, DW_LANG_Java, DW_LANG_lo_user, DW_LANG_Modula2, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_Pascal83, DW_LANG_PLI, and DW_LANG_UPC.
enum LLVMConstants llvm::dwarf::LLVM_ENUM_INT_TYPE | ( | uint32_t | ) |
const char * llvm::dwarf::LNExtendedString | ( | unsigned | Encoding | ) |
LNExtendedString - Return the string for the specified line number extended opcode encodings.
Definition at line 664 of file Dwarf.cpp.
References DW_LNE_define_file, DW_LNE_end_sequence, DW_LNE_hi_user, DW_LNE_lo_user, DW_LNE_set_address, and DW_LNE_set_discriminator.
const char * llvm::dwarf::LNStandardString | ( | unsigned | Standard | ) |
LNStandardString - Return the string for the specified line number standard.
Definition at line 644 of file Dwarf.cpp.
References DW_LNS_advance_line, DW_LNS_advance_pc, DW_LNS_const_add_pc, DW_LNS_copy, DW_LNS_fixed_advance_pc, DW_LNS_negate_stmt, DW_LNS_set_basic_block, DW_LNS_set_column, DW_LNS_set_epilogue_begin, DW_LNS_set_file, DW_LNS_set_isa, and DW_LNS_set_prologue_end.
Referenced by llvm::DWARFDebugLine::Prologue::dump().
const char * llvm::dwarf::MacinfoString | ( | unsigned | Encoding | ) |
MacinfoString - Return the string for the specified macinfo type encodings.
Definition at line 679 of file Dwarf.cpp.
References DW_MACINFO_define, DW_MACINFO_end_file, DW_MACINFO_start_file, DW_MACINFO_undef, and DW_MACINFO_vendor_ext.
const char * llvm::dwarf::OperationEncodingString | ( | unsigned | Encoding | ) |
OperationEncodingString - Return the string for the specified operation encoding.
Definition at line 303 of file Dwarf.cpp.
References DW_OP_abs, DW_OP_addr, DW_OP_and, DW_OP_bit_piece, DW_OP_bra, DW_OP_breg0, DW_OP_breg1, DW_OP_breg10, DW_OP_breg11, DW_OP_breg12, DW_OP_breg13, DW_OP_breg14, DW_OP_breg15, DW_OP_breg16, DW_OP_breg17, DW_OP_breg18, DW_OP_breg19, DW_OP_breg2, DW_OP_breg20, DW_OP_breg21, DW_OP_breg22, DW_OP_breg23, DW_OP_breg24, DW_OP_breg25, DW_OP_breg26, DW_OP_breg27, DW_OP_breg28, DW_OP_breg29, DW_OP_breg3, DW_OP_breg30, DW_OP_breg31, DW_OP_breg4, DW_OP_breg5, DW_OP_breg6, DW_OP_breg7, DW_OP_breg8, DW_OP_breg9, DW_OP_bregx, DW_OP_call2, DW_OP_call4, DW_OP_call_frame_cfa, DW_OP_call_ref, DW_OP_const1s, DW_OP_const1u, DW_OP_const2s, DW_OP_const2u, DW_OP_const4s, DW_OP_const4u, DW_OP_const8s, DW_OP_const8u, DW_OP_consts, DW_OP_constu, DW_OP_deref, DW_OP_deref_size, DW_OP_div, DW_OP_drop, DW_OP_dup, DW_OP_eq, DW_OP_fbreg, DW_OP_form_tls_address, DW_OP_ge, DW_OP_GNU_addr_index, DW_OP_GNU_const_index, DW_OP_GNU_push_tls_address, DW_OP_gt, DW_OP_implicit_value, DW_OP_le, DW_OP_lit0, DW_OP_lit1, DW_OP_lit10, DW_OP_lit11, DW_OP_lit12, DW_OP_lit13, DW_OP_lit14, DW_OP_lit15, DW_OP_lit16, DW_OP_lit17, DW_OP_lit18, DW_OP_lit19, DW_OP_lit2, DW_OP_lit20, DW_OP_lit21, DW_OP_lit22, DW_OP_lit23, DW_OP_lit24, DW_OP_lit25, DW_OP_lit26, DW_OP_lit27, DW_OP_lit28, DW_OP_lit29, DW_OP_lit3, DW_OP_lit30, DW_OP_lit31, DW_OP_lit4, DW_OP_lit5, DW_OP_lit6, DW_OP_lit7, DW_OP_lit8, DW_OP_lit9, DW_OP_lt, DW_OP_minus, DW_OP_mod, DW_OP_mul, DW_OP_ne, DW_OP_neg, DW_OP_nop, DW_OP_not, DW_OP_or, DW_OP_over, DW_OP_pick, DW_OP_piece, DW_OP_plus, DW_OP_plus_uconst, DW_OP_push_object_address, DW_OP_reg0, DW_OP_reg1, DW_OP_reg10, DW_OP_reg11, DW_OP_reg12, DW_OP_reg13, DW_OP_reg14, DW_OP_reg15, DW_OP_reg16, DW_OP_reg17, DW_OP_reg18, DW_OP_reg19, DW_OP_reg2, DW_OP_reg20, DW_OP_reg21, DW_OP_reg22, DW_OP_reg23, DW_OP_reg24, DW_OP_reg25, DW_OP_reg26, DW_OP_reg27, DW_OP_reg28, DW_OP_reg29, DW_OP_reg3, DW_OP_reg30, DW_OP_reg31, DW_OP_reg4, DW_OP_reg5, DW_OP_reg6, DW_OP_reg7, DW_OP_reg8, DW_OP_reg9, DW_OP_regx, DW_OP_rot, DW_OP_shl, DW_OP_shr, DW_OP_shra, DW_OP_skip, DW_OP_stack_value, DW_OP_swap, DW_OP_xderef, DW_OP_xderef_size, and DW_OP_xor.
Referenced by llvm::AsmPrinter::EmitDwarfRegOp().
const char * llvm::dwarf::TagString | ( | unsigned | Tag | ) |
TagString - Return the string for the specified tag.
Definition at line 22 of file Dwarf.cpp.
Referenced by llvm::DWARFDebugInfoEntryMinimal::dump(), llvm::DWARFAbbreviationDeclaration::dump(), llvm::DIEAbbrev::Emit(), llvm::DwarfDebug::emitDIE(), llvm::DIEAbbrev::print(), llvm::DIDescriptor::print(), llvm::DwarfAccelTable::HashDataContents::print(), llvm::DIE::print(), and llvm::WriteMDNodeComment().
const char * llvm::dwarf::VirtualityString | ( | unsigned | Virtuality | ) |
VirtualityString - Return the string for the specified virtuality.
Definition at line 547 of file Dwarf.cpp.
References DW_VIRTUALITY_none, DW_VIRTUALITY_pure_virtual, and DW_VIRTUALITY_virtual.
const char * llvm::dwarf::VisibilityString | ( | unsigned | Visibility | ) |
VisibilityString - Return the string for the specified visibility.
Definition at line 536 of file Dwarf.cpp.
References DW_VIS_exported, DW_VIS_local, and DW_VIS_qualified.
const uint64_t llvm::dwarf::DW64_CIE_ID = UINT64_MAX |
Definition at line 69 of file Dwarf.h.
Referenced by llvm::DWARFDebugFrame::parse().
const uint32_t llvm::dwarf::DW_CIE_ID = UINT32_MAX |
Definition at line 68 of file Dwarf.h.
Referenced by llvm::DWARFDebugFrame::parse().