aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-30 05:56:51 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-30 05:56:51 +0000
commitb993feb53c2c46b1bab65f486598d20f220b3daf (patch)
tree1aee0edf88acfc4bc8199919127bab7c8a188b05 /docs
parent07aada8b0fcac511424623a632dec909e40cd201 (diff)
downloadexternal_llvm-b993feb53c2c46b1bab65f486598d20f220b3daf.zip
external_llvm-b993feb53c2c46b1bab65f486598d20f220b3daf.tar.gz
external_llvm-b993feb53c2c46b1bab65f486598d20f220b3daf.tar.bz2
Add a blurb about exploiting the use of external storage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CommandLine.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/CommandLine.html b/docs/CommandLine.html
index 03ffbbd..0eda9c2 100644
--- a/docs/CommandLine.html
+++ b/docs/CommandLine.html
@@ -1740,8 +1740,16 @@ tutorial.</p>
</div>
<div class="doc_text">
-
-<p>TODO: fill in this section</p>
+ <p>Several of the LLVM libraries define static <tt>cl::opt</tt> instances that
+ will automatically be included in any program that links with that library.
+ This is a feature. However, sometimes it is necessary to know the value of the
+ command line option outside of the library. In these cases the library does or
+ should provide an external storage location that is accessible to users of the
+ library. Examples of this include the <tt>llvm::DebugFlag</tt> exported by the
+ <tt>lib/Support/Debug.cpp</tt> file and the <tt>llvm::TimePassesIsEnabled</tt>
+ flag exported by the <tt>lib/VMCore/Pass.cpp</tt> file.</p>
+
+<p>TODO: complete this section</p>
</div>