diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-04-17 20:48:03 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-04-17 20:48:03 +0000 |
commit | b271b120d064f6944435de83f3db971d5b2d3fa7 (patch) | |
tree | 32833b05e348243ac29f5038cf8343c4456c4bdf /lib/Transforms/ObjCARC/ObjCARCOpts.cpp | |
parent | ba5d950518b13353028ea958714fbadca032e1a3 (diff) |
[objc-arc] Added descriptions for EnableARCAnnotations, EnableCheckForCFGHazards, EnableARCOptimizations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARCOpts.cpp')
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index bf1c93dc8d..5646e5285a 100644 --- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -709,10 +709,13 @@ void BBState::MergeSucc(const BBState &Other) { /// Enable/disable ARC sequence annotations. 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> -EnableCheckForCFGHazards("enable-objc-arc-checkforcfghazards", - cl::init(true)); +EnableCheckForCFGHazards("enable-objc-arc-checkforcfghazards", cl::init(true), + cl::desc("Disable check for cfg hazards when " + "annotating")); /// This function appends a unique ARCAnnotationProvenanceSourceMDKind id to an /// instruction so that we can track backwards when post processing via the llvm |