LLVM 19.0.0git
Classes | Namespaces | Macros | Enumerations | Functions
DWARFUnitIndex.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.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)   DW_SECT_##NAME = ID,
 
#define STRINGIZE(X)   #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)
 
uint32_t llvm::serializeSectionKind (DWARFSectionKind Kind, unsigned IndexVersion)
 Convert the internal value for a section kind to an on-disk value.
 
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 
)    DW_SECT_##NAME = ID,

Definition at line 60 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 60 of file DWARFUnitIndex.h.

◆ STRINGIZE

#define STRINGIZE (   X)    #X