LLVM 22.0.0git
DWARFUnitIndex.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include <cstdint>
#include <memory>
#include "llvm/BinaryFormat/Dwarf.def"

Go to the source code of this file.

Classes

class  llvm::DWARFUnitIndex
class  llvm::DWARFUnitIndex::Entry
class  llvm::DWARFUnitIndex::Entry::SectionContribution

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define HANDLE_DW_SECT(ID, NAME)
#define STRINGIZE(X)
#define HANDLE_DW_SECT(ID, NAME)

Enumerations

enum  llvm::DWARFSectionKind { llvm::DW_SECT_EXT_unknown = 0 , llvm::DW_SECT_EXT_TYPES = 2 , llvm::DW_SECT_EXT_LOC = 9 , llvm::DW_SECT_EXT_MACINFO = 10 }
 The enum of section identifiers to be used in internal interfaces. More...

Functions

const charllvm::toString (DWARFSectionKind Kind)
LLVM_ABI uint32_t llvm::serializeSectionKind (DWARFSectionKind Kind, unsigned IndexVersion)
 Convert the internal value for a section kind to an on-disk value.
LLVM_ABI DWARFSectionKind llvm::deserializeSectionKind (uint32_t Value, unsigned IndexVersion)
 Convert a value read from an index section to the internal representation.

Macro Definition Documentation

◆ HANDLE_DW_SECT [1/2]

#define HANDLE_DW_SECT ( ID,
NAME )
Value:
DW_SECT_##NAME = ID,

Definition at line 61 of file DWARFUnitIndex.h.

◆ HANDLE_DW_SECT [2/2]

#define HANDLE_DW_SECT ( ID,
NAME )
Value:
case DW_SECT_##NAME: \
return "DW_SECT_" STRINGIZE(NAME);
#define STRINGIZE(X)

Definition at line 61 of file DWARFUnitIndex.h.

◆ STRINGIZE

#define STRINGIZE ( X)
Value:
#X