forked from OSchip/llvm-project
parent
35b3b54548
commit
7f44037c2e
|
@ -68,13 +68,13 @@ DisableColoring("no-stack-coloring",
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
ProtectFromEscapedAllocas("protect-from-escaped-allocas",
|
ProtectFromEscapedAllocas("protect-from-escaped-allocas",
|
||||||
cl::init(false), cl::Hidden,
|
cl::init(false), cl::Hidden,
|
||||||
cl::desc("Do not optimize lifetime zones that are broken"));
|
cl::desc("Do not optimize lifetime zones that "
|
||||||
|
"are broken"));
|
||||||
|
|
||||||
STATISTIC(NumMarkerSeen, "Number of lifetime markers found.");
|
STATISTIC(NumMarkerSeen, "Number of lifetime markers found.");
|
||||||
STATISTIC(StackSpaceSaved, "Number of bytes saved due to merging slots.");
|
STATISTIC(StackSpaceSaved, "Number of bytes saved due to merging slots.");
|
||||||
STATISTIC(StackSlotMerged, "Number of stack slot merged.");
|
STATISTIC(StackSlotMerged, "Number of stack slot merged.");
|
||||||
STATISTIC(EscapedAllocas,
|
STATISTIC(EscapedAllocas, "Number of allocas that escaped the lifetime region");
|
||||||
"Number of allocas that escaped the lifetime region");
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// StackColoring Pass
|
// StackColoring Pass
|
||||||
|
|
Loading…
Reference in New Issue