LLVM  mainline
Functions
Dwarf constants dumping functions

All these functions map their argument's value back to the corresponding enumerator name or return nullptr if the value isn't known. More...

Functions

const char * llvm::dwarf::TagString (unsigned Tag)
const char * llvm::dwarf::ChildrenString (unsigned Children)
const char * llvm::dwarf::AttributeString (unsigned Attribute)
const char * llvm::dwarf::FormEncodingString (unsigned Encoding)
const char * llvm::dwarf::OperationEncodingString (unsigned Encoding)
const char * llvm::dwarf::AttributeEncodingString (unsigned Encoding)
const char * llvm::dwarf::DecimalSignString (unsigned Sign)
const char * llvm::dwarf::EndianityString (unsigned Endian)
const char * llvm::dwarf::AccessibilityString (unsigned Access)
const char * llvm::dwarf::VisibilityString (unsigned Visibility)
const char * llvm::dwarf::VirtualityString (unsigned Virtuality)
const char * llvm::dwarf::LanguageString (unsigned Language)
const char * llvm::dwarf::CaseString (unsigned Case)
const char * llvm::dwarf::ConventionString (unsigned Convention)
const char * llvm::dwarf::InlineCodeString (unsigned Code)
const char * llvm::dwarf::ArrayOrderString (unsigned Order)
const char * llvm::dwarf::DiscriminantString (unsigned Discriminant)
const char * llvm::dwarf::LNStandardString (unsigned Standard)
const char * llvm::dwarf::LNExtendedString (unsigned Encoding)
const char * llvm::dwarf::MacinfoString (unsigned Encoding)
const char * llvm::dwarf::CallFrameString (unsigned Encoding)
const char * llvm::dwarf::ApplePropertyString (unsigned)
const char * llvm::dwarf::AtomTypeString (unsigned Atom)
const char * llvm::dwarf::GDBIndexEntryKindString (GDBIndexEntryKind Kind)
const char * llvm::dwarf::GDBIndexEntryLinkageString (GDBIndexEntryLinkage Linkage)

Detailed Description

All these functions map their argument's value back to the corresponding enumerator name or return nullptr if the value isn't known.


Function Documentation

Definition at line 282 of file Dwarf.cpp.

Referenced by llvm::dwarf::AttributeValueString().

Definition at line 46 of file Dwarf.cpp.

References llvm::dwarf::DW_AT_abstract_origin, llvm::dwarf::DW_AT_accessibility, llvm::dwarf::DW_AT_addr_base, llvm::dwarf::DW_AT_address_class, llvm::dwarf::DW_AT_allocated, llvm::dwarf::DW_AT_APPLE_block, llvm::dwarf::DW_AT_APPLE_flags, llvm::dwarf::DW_AT_APPLE_isa, llvm::dwarf::DW_AT_APPLE_major_runtime_vers, llvm::dwarf::DW_AT_APPLE_objc_complete_type, llvm::dwarf::DW_AT_APPLE_omit_frame_ptr, llvm::dwarf::DW_AT_APPLE_optimized, llvm::dwarf::DW_AT_APPLE_property, llvm::dwarf::DW_AT_APPLE_property_attribute, llvm::dwarf::DW_AT_APPLE_property_getter, llvm::dwarf::DW_AT_APPLE_property_name, llvm::dwarf::DW_AT_APPLE_property_setter, llvm::dwarf::DW_AT_APPLE_runtime_class, llvm::dwarf::DW_AT_artificial, llvm::dwarf::DW_AT_associated, llvm::dwarf::DW_AT_base_types, llvm::dwarf::DW_AT_binary_scale, llvm::dwarf::DW_AT_bit_offset, llvm::dwarf::DW_AT_bit_size, llvm::dwarf::DW_AT_bit_stride, llvm::dwarf::DW_AT_body_begin, llvm::dwarf::DW_AT_body_end, llvm::dwarf::DW_AT_BORLAND_closure, llvm::dwarf::DW_AT_BORLAND_Delphi_ABI, llvm::dwarf::DW_AT_BORLAND_Delphi_anonymous_method, llvm::dwarf::DW_AT_BORLAND_Delphi_class, llvm::dwarf::DW_AT_BORLAND_Delphi_constructor, llvm::dwarf::DW_AT_BORLAND_Delphi_destructor, llvm::dwarf::DW_AT_BORLAND_Delphi_frameptr, llvm::dwarf::DW_AT_BORLAND_Delphi_interface, llvm::dwarf::DW_AT_BORLAND_Delphi_metaclass, llvm::dwarf::DW_AT_BORLAND_Delphi_record, llvm::dwarf::DW_AT_BORLAND_Delphi_return, llvm::dwarf::DW_AT_BORLAND_Delphi_unit, llvm::dwarf::DW_AT_BORLAND_property_default, llvm::dwarf::DW_AT_BORLAND_property_implements, llvm::dwarf::DW_AT_BORLAND_property_index, llvm::dwarf::DW_AT_BORLAND_property_read, llvm::dwarf::DW_AT_BORLAND_property_write, llvm::dwarf::DW_AT_byte_size, llvm::dwarf::DW_AT_byte_stride, llvm::dwarf::DW_AT_call_column, llvm::dwarf::DW_AT_call_file, llvm::dwarf::DW_AT_call_line, llvm::dwarf::DW_AT_calling_convention, llvm::dwarf::DW_AT_common_reference, llvm::dwarf::DW_AT_comp_dir, llvm::dwarf::DW_AT_const_expr, llvm::dwarf::DW_AT_const_value, llvm::dwarf::DW_AT_containing_type, llvm::dwarf::DW_AT_count, llvm::dwarf::DW_AT_data_bit_offset, llvm::dwarf::DW_AT_data_location, llvm::dwarf::DW_AT_data_member_location, llvm::dwarf::DW_AT_decimal_scale, llvm::dwarf::DW_AT_decimal_sign, llvm::dwarf::DW_AT_decl_column, llvm::dwarf::DW_AT_decl_file, llvm::dwarf::DW_AT_decl_line, llvm::dwarf::DW_AT_declaration, llvm::dwarf::DW_AT_default_value, llvm::dwarf::DW_AT_description, llvm::dwarf::DW_AT_digit_count, llvm::dwarf::DW_AT_discr, llvm::dwarf::DW_AT_discr_list, llvm::dwarf::DW_AT_discr_value, llvm::dwarf::DW_AT_dwo_id, llvm::dwarf::DW_AT_dwo_name, llvm::dwarf::DW_AT_elemental, llvm::dwarf::DW_AT_encoding, llvm::dwarf::DW_AT_endianity, llvm::dwarf::DW_AT_entry_pc, llvm::dwarf::DW_AT_enum_class, llvm::dwarf::DW_AT_explicit, llvm::dwarf::DW_AT_extension, llvm::dwarf::DW_AT_external, llvm::dwarf::DW_AT_frame_base, llvm::dwarf::DW_AT_friend, llvm::dwarf::DW_AT_GNU_addr_base, llvm::dwarf::DW_AT_GNU_discriminator, llvm::dwarf::DW_AT_GNU_dwo_id, llvm::dwarf::DW_AT_GNU_dwo_name, llvm::dwarf::DW_AT_GNU_odr_signature, llvm::dwarf::DW_AT_GNU_pubnames, llvm::dwarf::DW_AT_GNU_pubtypes, llvm::dwarf::DW_AT_GNU_ranges_base, llvm::dwarf::DW_AT_GNU_template_name, llvm::dwarf::DW_AT_GNU_vector, llvm::dwarf::DW_AT_hi_user, llvm::dwarf::DW_AT_high_pc, llvm::dwarf::DW_AT_identifier_case, llvm::dwarf::DW_AT_import, llvm::dwarf::DW_AT_inline, llvm::dwarf::DW_AT_is_optional, llvm::dwarf::DW_AT_language, llvm::dwarf::DW_AT_linkage_name, llvm::dwarf::DW_AT_LLVM_config_macros, llvm::dwarf::DW_AT_LLVM_include_path, llvm::dwarf::DW_AT_LLVM_isysroot, llvm::dwarf::DW_AT_lo_user, llvm::dwarf::DW_AT_location, llvm::dwarf::DW_AT_low_pc, llvm::dwarf::DW_AT_lower_bound, llvm::dwarf::DW_AT_mac_info, llvm::dwarf::DW_AT_macro_info, llvm::dwarf::DW_AT_main_subprogram, llvm::dwarf::DW_AT_MIPS_abstract_name, llvm::dwarf::DW_AT_MIPS_allocatable_dopetype, llvm::dwarf::DW_AT_MIPS_assumed_shape_dopetype, llvm::dwarf::DW_AT_MIPS_assumed_size, llvm::dwarf::DW_AT_MIPS_clone_origin, llvm::dwarf::DW_AT_MIPS_epilog_begin, llvm::dwarf::DW_AT_MIPS_has_inlines, llvm::dwarf::DW_AT_MIPS_linkage_name, llvm::dwarf::DW_AT_MIPS_loop_begin, llvm::dwarf::DW_AT_MIPS_loop_unroll_factor, llvm::dwarf::DW_AT_MIPS_ptr_dopetype, llvm::dwarf::DW_AT_MIPS_software_pipeline_depth, llvm::dwarf::DW_AT_MIPS_stride, llvm::dwarf::DW_AT_MIPS_stride_byte, llvm::dwarf::DW_AT_MIPS_stride_elem, llvm::dwarf::DW_AT_MIPS_tail_loop_begin, llvm::dwarf::DW_AT_mutable, llvm::dwarf::DW_AT_name, llvm::dwarf::DW_AT_namelist_item, llvm::dwarf::DW_AT_object_pointer, llvm::dwarf::DW_AT_ordering, llvm::dwarf::DW_AT_picture_string, llvm::dwarf::DW_AT_priority, llvm::dwarf::DW_AT_producer, llvm::dwarf::DW_AT_prototyped, llvm::dwarf::DW_AT_pure, llvm::dwarf::DW_AT_ranges, llvm::dwarf::DW_AT_ranges_base, llvm::dwarf::DW_AT_rank, llvm::dwarf::DW_AT_recursive, llvm::dwarf::DW_AT_reference, llvm::dwarf::DW_AT_return_addr, llvm::dwarf::DW_AT_rvalue_reference, llvm::dwarf::DW_AT_segment, llvm::dwarf::DW_AT_sf_names, llvm::dwarf::DW_AT_sibling, llvm::dwarf::DW_AT_signature, llvm::dwarf::DW_AT_small, llvm::dwarf::DW_AT_specification, llvm::dwarf::DW_AT_src_coords, llvm::dwarf::DW_AT_src_info, llvm::dwarf::DW_AT_start_scope, llvm::dwarf::DW_AT_static_link, llvm::dwarf::DW_AT_stmt_list, llvm::dwarf::DW_AT_str_offsets_base, llvm::dwarf::DW_AT_string_length, llvm::dwarf::DW_AT_string_length_bit_size, llvm::dwarf::DW_AT_string_length_byte_size, llvm::dwarf::DW_AT_threads_scaled, llvm::dwarf::DW_AT_trampoline, llvm::dwarf::DW_AT_type, llvm::dwarf::DW_AT_upper_bound, llvm::dwarf::DW_AT_use_location, llvm::dwarf::DW_AT_use_UTF8, llvm::dwarf::DW_AT_variable_parameter, llvm::dwarf::DW_AT_virtuality, llvm::dwarf::DW_AT_visibility, and llvm::dwarf::DW_AT_vtable_elem_location.

Referenced by llvm::DWARFAbbreviationDeclaration::dump(), llvm::DWARFDebugInfoEntryMinimal::dumpAttribute(), llvm::DIEAbbrev::Emit(), llvm::AsmPrinter::emitDwarfDIE(), llvm::DIEAbbrev::print(), and llvm::DIE::print().

Definition at line 424 of file Dwarf.cpp.

References llvm::dwarf::DW_DSC_label, and llvm::dwarf::DW_DSC_range.

Referenced by llvm::dwarf::AttributeValueString().

Definition at line 591 of file Dwarf.cpp.

References llvm::dwarf::GIEL_EXTERNAL, llvm::dwarf::GIEL_STATIC, and llvm_unreachable.

Referenced by dumpPubSection().

Definition at line 359 of file Dwarf.cpp.

Referenced by llvm::dwarf::AttributeValueString(), and llvm::dwarf::getLanguage().

Definition at line 340 of file Dwarf.cpp.

Referenced by llvm::dwarf::AttributeValueString(), and llvm::dwarf::getVirtuality().