LLVM  12.0.0git
Macros | Enumerations | Functions
DWARFUnitIndex.cpp File Reference
#include "llvm/DebugInfo/DWARF/DWARFUnitIndex.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <cinttypes>
#include <cstdint>
#include "llvm/BinaryFormat/Dwarf.def"
Include dependency graph for DWARFUnitIndex.cpp:

Go to the source code of this file.

Macros

#define CASE(S, T)
 
#define CASE(S, T)
 
#define HANDLE_DW_SECT(ID, NAME)
 

Enumerations

enum  DWARFSectionKindV2
 

Functions

constexpr bool isKnownV5SectionID (uint32_t ID)
 

Macro Definition Documentation

◆ CASE [1/2]

#define CASE (   S,
  T 
)
Value:
case DW_SECT_##S: \
return static_cast<uint32_t>(DWARFSectionKindV2::DW_SECT_##T)
#define T

Referenced by llvm::deserializeSectionKind(), and llvm::serializeSectionKind().

◆ CASE [2/2]

#define CASE (   S,
  T 
)
Value:
case DWARFSectionKindV2::DW_SECT_##S: \
return DW_SECT_##T

◆ HANDLE_DW_SECT

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

Enumeration Type Documentation

◆ DWARFSectionKindV2

enum DWARFSectionKindV2
strong

Definition at line 22 of file DWARFUnitIndex.cpp.

Function Documentation

◆ isKnownV5SectionID()

constexpr bool isKnownV5SectionID ( uint32_t  ID)