LLVM: lib/Target/X86/X86WinEHUnwindV2.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "x86-wineh-unwindv2"
Variables
static cl::opt< unsigned > MaximumUnwindCodes ("x86-wineh-unwindv2-max-unwind-codes", cl::Hidden, cl::desc("Maximum number of unwind codes permitted in each unwind info."), cl::init(UINT8_MAX))
static cl::opt< unsigned > ForceMode ("x86-wineh-unwindv2-force-mode", cl::Hidden, cl::desc("Overwrites the Unwind v2 mode for testing purposes."))

DEBUG_TYPE

#define DEBUG_TYPE "x86-wineh-unwindv2"

findDebugLoc()

INITIALIZE_PASS()

INITIALIZE_PASS ( X86WinEHUnwindV2 ,
"x86-wineh-unwindv2" ,
"Analyze and emit instructions for Win64 Unwind v2" ,
false ,
false )

STATISTIC() [1/2]

STATISTIC ( FailsUnwindV2Criteria ,
"Number of functions that fail Unwind v2 criteria" )

STATISTIC() [2/2]

STATISTIC ( MeetsUnwindV2Criteria ,
"Number of functions that meet Unwind v2 criteria" )

ForceMode

cl::opt< unsigned > ForceMode("x86-wineh-unwindv2-force-mode", cl::Hidden, cl::desc("Overwrites the Unwind v2 mode for testing purposes.")) ( "x86-wineh-unwindv2-force-mode" , cl::Hidden , cl::desc("Overwrites the Unwind v2 mode for testing purposes.") ) static

MaximumUnwindCodes

cl::opt< unsigned > MaximumUnwindCodes("x86-wineh-unwindv2-max-unwind-codes", cl::Hidden, cl::desc("Maximum number of unwind codes permitted in each unwind info."), cl::init(UINT8_MAX)) ( "x86-wineh-unwindv2-max-unwind-codes" , cl::Hidden , cl::desc("Maximum number of unwind codes permitted in each unwind info.") , cl::init(UINT8_MAX) ) static