LLVM 22.0.0git
DWARFUnitIndex.cpp File Reference
#include "llvm/DebugInfo/DWARF/DWARFUnitIndex.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataExtractor.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"

Go to the source code of this file.

Macros

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

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)

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;

Function Documentation

◆ isKnownV5SectionID()

bool isKnownV5SectionID ( uint32_t ID)
constexpr