LLVM: lib/CodeGen/AsmPrinter/WinException.cpp File Reference (original) (raw)
WinException.cpp File Reference
#include "[WinException.h](WinException%5F8h%5Fsource.html)"#include "[llvm/ADT/Twine.h](Twine%5F8h%5Fsource.html)"#include "[llvm/BinaryFormat/COFF.h](BinaryFormat%5F2COFF%5F8h%5Fsource.html)"#include "[llvm/BinaryFormat/Dwarf.h](Dwarf%5F8h%5Fsource.html)"#include "[llvm/CodeGen/AsmPrinter.h](AsmPrinter%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineFrameInfo.h](MachineFrameInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineFunction.h](MachineFunction%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineModuleInfo.h](MachineModuleInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetFrameLowering.h](TargetFrameLowering%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetLowering.h](TargetLowering%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetSubtargetInfo.h](TargetSubtargetInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/WinEHFuncInfo.h](WinEHFuncInfo%5F8h%5Fsource.html)"#include "[llvm/IR/DataLayout.h](DataLayout%5F8h%5Fsource.html)"#include "[llvm/IR/Module.h](IR%5F2Module%5F8h%5Fsource.html)"#include "[llvm/MC/MCAsmInfo.h](MCAsmInfo%5F8h%5Fsource.html)"#include "[llvm/MC/MCContext.h](MCContext%5F8h%5Fsource.html)"#include "[llvm/MC/MCExpr.h](MCExpr%5F8h%5Fsource.html)"#include "[llvm/MC/MCStreamer.h](MCStreamer%5F8h%5Fsource.html)"#include "[llvm/Target/TargetLoweringObjectFile.h](TargetLoweringObjectFile%5F8h%5Fsource.html)"#include "[llvm/Target/TargetMachine.h](llvm%5F2Target%5F2TargetMachine%5F8h%5Fsource.html)"
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) |
Function Documentation
◆ getMCSymbolForMBB()
| MCSymbol * getMCSymbolForMBB ( AsmPrinter * Asm, const MachineBasicBlock * MBB ) | static |
|---|
Retrieve the MCSymbol for a GlobalValue or MachineBasicBlock.
Definition at line 170 of file WinException.cpp.
References assert(), llvm::GlobalValue::dropLLVMManglingEscape(), F, llvm::MachineFunction::getContext(), llvm::MachineFunction::getFunction(), and MBB.
Referenced by llvm::WinException::beginFunclet().
◆ getTryAncestor()
| int getTryAncestor ( const WinEHFuncInfo & FuncInfo, int Left, int Right ) | static |
|---|
Definition at line 1086 of file WinException.cpp.
References llvm::WinEHFuncInfo::ClrEHUnwindMap, getTryRank(), llvm::Left, and llvm::Right.
◆ getTryRank()
| int getTryRank ( const WinEHFuncInfo & FuncInfo, int State ) | static |
|---|
Definition at line 1077 of file WinException.cpp.
References llvm::WinEHFuncInfo::ClrEHUnwindMap.
Referenced by getTryAncestor().