LLVM 20.0.0git
Macros | Functions | Variables
BTFDebug.cpp File Reference
#include "BTFDebug.h"
#include "BPF.h"
#include "BPFCORE.h"
#include "MCTargetDesc/BPFMCTargetDesc.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include <optional>
#include "llvm/DebugInfo/BTF/BTF.def"

Go to the source code of this file.

Macros

#define HANDLE_BTF_KIND(ID, NAME)   "BTF_KIND_" #NAME,
 

Functions

static const DITypetryRemoveAtomicType (const DIType *Ty)
 

Variables

static const charBTFKindStr []
 

Macro Definition Documentation

◆ HANDLE_BTF_KIND

#define HANDLE_BTF_KIND (   ID,
  NAME 
)    "BTF_KIND_" #NAME,

Function Documentation

◆ tryRemoveAtomicType()

static const DIType * tryRemoveAtomicType ( const DIType Ty)
static

Variable Documentation

◆ BTFKindStr

const char* BTFKindStr[]
static
Initial value:
= {
#define HANDLE_BTF_KIND(ID, NAME)
}

Definition at line 33 of file BTFDebug.cpp.

Referenced by llvm::BTFTypeBase::emitType().