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

Go to the source code of this file.

Macros
#define DEBUG_TYPE "dwarf-eh-prepare"
Functions
STATISTIC (NumResumesLowered, "Number of resume calls lowered")
STATISTIC (NumCleanupLandingPadsUnreachable, "Number of cleanup landing pads found unreachable")
STATISTIC (NumCleanupLandingPadsRemaining, "Number of cleanup landing pads remaining")
STATISTIC (NumNoUnwind, "Number of functions with nounwind")
STATISTIC (NumUnwind, "Number of functions with unwind")
static bool prepareDwarfEH (CodeGenOptLevel OptLevel, Function &F, const TargetLowering &TLI, DominatorTree *DT, const TargetTransformInfo *TTI, const Triple &TargetTriple)
INITIALIZE_PASS_BEGIN (DwarfEHPrepareLegacyPass, DEBUG_TYPE, "Prepare DWARF exceptions", false, false) INITIALIZE_PASS_END(DwarfEHPrepareLegacyPass
Variables
DEBUG_TYPE
Prepare DWARF exceptions
Prepare DWARF false

DEBUG_TYPE

#define DEBUG_TYPE "dwarf-eh-prepare"

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( DwarfEHPrepareLegacyPass ,
DEBUG_TYPE ,
"Prepare DWARF exceptions" ,
false ,
false )

prepareDwarfEH()

STATISTIC() [1/5]

STATISTIC ( NumCleanupLandingPadsRemaining ,
"Number of cleanup landing pads remaining" )

STATISTIC() [2/5]

STATISTIC ( NumCleanupLandingPadsUnreachable ,
"Number of cleanup landing pads found unreachable" )

STATISTIC() [3/5]

STATISTIC ( NumNoUnwind ,
"Number of functions with nounwind" )

STATISTIC() [4/5]

STATISTIC ( NumResumesLowered ,
"Number of resume calls lowered" )

STATISTIC() [5/5]

STATISTIC ( NumUnwind ,
"Number of functions with unwind" )

References F.

DEBUG_TYPE

exceptions

false