LLVM 20.0.0git
Functions
WinException.cpp File Reference
#include "WinException.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/CodeGen/WinEHFuncInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Functions

static MCSymbolgetMCSymbolForMBB (AsmPrinter *Asm, const MachineBasicBlock *MBB)
 Retrieve the MCSymbol for a GlobalValue or MachineBasicBlock.
 
static int getTryRank (const WinEHFuncInfo &FuncInfo, int State)
 
static int getTryAncestor (const WinEHFuncInfo &FuncInfo, int Left, int Right)
 

Function Documentation

◆ getMCSymbolForMBB()

static MCSymbol * getMCSymbolForMBB ( AsmPrinter Asm,
const MachineBasicBlock MBB 
)
static

◆ getTryAncestor()

static int getTryAncestor ( const WinEHFuncInfo FuncInfo,
int  Left,
int  Right 
)
static

◆ getTryRank()

static int getTryRank ( const WinEHFuncInfo FuncInfo,
int  State 
)
static

Definition at line 1087 of file WinException.cpp.

References llvm::WinEHFuncInfo::ClrEHUnwindMap.

Referenced by getTryAncestor().