LLVM: lib/CodeGen/AsmPrinter/WinException.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static MCSymbol * getMCSymbolForMBB (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)

getMCSymbolForMBB()

Retrieve the MCSymbol for a GlobalValue or MachineBasicBlock.

Definition at line 171 of file WinException.cpp.

References assert(), llvm::GlobalValue::dropLLVMManglingEscape(), F, llvm::MachineFunction::getContext(), llvm::MachineFunction::getFunction(), llvm::MachineBasicBlock::getNumber(), llvm::MCContext::getOrCreateSymbol(), llvm::MachineBasicBlock::getParent(), llvm::MachineBasicBlock::isCleanupFuncletEntry(), llvm::MachineBasicBlock::isEHFuncletEntry(), and MBB.

Referenced by llvm::WinException::beginFunclet().

getTryAncestor()

getTryRank()