LLVM 20.0.0git
|
#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 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) |
|
static |
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().
|
static |
Definition at line 1096 of file WinException.cpp.
References llvm::WinEHFuncInfo::ClrEHUnwindMap, getTryRank(), llvm::Left, and llvm::Right.
|
static |
Definition at line 1087 of file WinException.cpp.
References llvm::WinEHFuncInfo::ClrEHUnwindMap.
Referenced by getTryAncestor().