]> granicus.if.org Git - clang/commitdiff
Documents linking requirements for libtooling.
authorManuel Klimek <klimek@google.com>
Wed, 6 Jun 2012 17:51:31 +0000 (17:51 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 6 Jun 2012 17:51:31 +0000 (17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158088 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LibTooling.html

index 247c55a3113e2b13792b5f530ff94e06b235e63c..d72bf44a4c8251113cda422c5e9b401be59add1c 100644 (file)
@@ -180,6 +180,30 @@ as first argument and some source files as further positional arguments:
 </pre>
 </p>
 
+<h3 id="linking">Linking.</h3>
+<p>Please note that this presents the linking requirements at the time of this
+writing. For the most up-to-date information, look at one of the tools'
+Makefiles (for example
+<a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-check/Makefile?view=markup">clang-check/Makefile</a>).
+</p>
+
+<p>To link a binary using the tooling infrastructure, link in the following
+libraries:
+<ul>
+<li>Analysis</li>
+<li>AST</li>
+<li>Basic</li>
+<li>Driver</li>
+<li>Edit</li>
+<li>Frontend</li>
+<li>Lex</li>
+<li>Parse</li>
+<li>Sema</li>
+<li>Serialization</li>
+<li>Tooling</li>
+</ul>
+</p>
+
 </div>
 </body>
 </html>