LLVM 20.0.0git
Macros | Functions | Variables
MCPseudoProbe.cpp File Reference
#include "llvm/MC/MCPseudoProbe.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/PseudoProbe.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFragment.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/MD5.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <limits>
#include <memory>
#include <sstream>
#include <vector>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mcpseudoprobe"
 

Functions

static const MCExprbuildSymbolDiff (MCObjectStreamer *MCOS, const MCSymbol *A, const MCSymbol *B)
 
static StringRef getProbeFNameForGUID (const GUIDProbeFunctionMap &GUID2FuncMAP, uint64_t GUID)
 

Variables

static const charPseudoProbeTypeStr [3]
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mcpseudoprobe"

Definition at line 32 of file MCPseudoProbe.cpp.

Function Documentation

◆ buildSymbolDiff()

static const MCExpr * buildSymbolDiff ( MCObjectStreamer MCOS,
const MCSymbol A,
const MCSymbol B 
)
static

◆ getProbeFNameForGUID()

static StringRef getProbeFNameForGUID ( const GUIDProbeFunctionMap GUID2FuncMAP,
uint64_t  GUID 
)
static

Variable Documentation

◆ PseudoProbeTypeStr

const char* PseudoProbeTypeStr[3]
static
Initial value:
= {"Block", "IndirectCall",
"DirectCall"}

Definition at line 315 of file MCPseudoProbe.cpp.

Referenced by llvm::MCDecodedPseudoProbe::print().