forked from OSchip/llvm-project
[objc-arc] Added descriptions for EnableARCAnnotations, EnableCheckForCFGHazards, EnableARCOptimizations.
llvm-svn: 179718
This commit is contained in:
parent
ffef24f964
commit
6806b51ad2
|
|
@ -30,6 +30,7 @@ using namespace llvm::objcarc;
|
||||||
bool llvm::objcarc::EnableARCOpts;
|
bool llvm::objcarc::EnableARCOpts;
|
||||||
static cl::opt<bool, true>
|
static cl::opt<bool, true>
|
||||||
EnableARCOptimizations("enable-objc-arc-opts",
|
EnableARCOptimizations("enable-objc-arc-opts",
|
||||||
|
cl::desc("enable/disable all ARC Optimizations"),
|
||||||
cl::location(EnableARCOpts),
|
cl::location(EnableARCOpts),
|
||||||
cl::init(true));
|
cl::init(true));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -709,10 +709,13 @@ void BBState::MergeSucc(const BBState &Other) {
|
||||||
|
|
||||||
/// Enable/disable ARC sequence annotations.
|
/// Enable/disable ARC sequence annotations.
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
EnableARCAnnotations("enable-objc-arc-annotations", cl::init(false));
|
EnableARCAnnotations("enable-objc-arc-annotations", cl::init(false),
|
||||||
|
cl::desc("Enable emission of arc data flow analysis "
|
||||||
|
"annotations"));
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
EnableCheckForCFGHazards("enable-objc-arc-checkforcfghazards",
|
EnableCheckForCFGHazards("enable-objc-arc-checkforcfghazards", cl::init(true),
|
||||||
cl::init(true));
|
cl::desc("Disable check for cfg hazards when "
|
||||||
|
"annotating"));
|
||||||
|
|
||||||
/// This function appends a unique ARCAnnotationProvenanceSourceMDKind id to an
|
/// This function appends a unique ARCAnnotationProvenanceSourceMDKind id to an
|
||||||
/// instruction so that we can track backwards when post processing via the llvm
|
/// instruction so that we can track backwards when post processing via the llvm
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue