From 695b78b5f723e220fac20eb80bffa075e77647e3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 26 Apr 2005 22:56:16 +0000 Subject: [PATCH] update some paths git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21576 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 1d207bebbf2..b54441520aa 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -274,7 +274,7 @@ operator, but they don't have some drawbacks (primarily stemming from the fact that dynamic_cast<> only works on classes that have a v-table). Because they are used so often, you must know what they do and how they work. All of these templates are defined in the Support/Casting.h + href="/doxygen/Casting_8h-source.html">llvm/Support/Casting.h file (note that you very rarely have to include this file directly).

@@ -379,7 +379,7 @@ across).

but you don't want them to always be noisy. A standard compromise is to comment them out, allowing you to enable them if you need them in the future.

-

The "Support/Debug.h" +

The "llvm/Support/Debug.h" file provides a macro named DEBUG() that is a much nicer solution to this problem. Basically, you can put arbitrary code into the argument of the DEBUG macro, and it is only executed if 'opt' (or any other @@ -427,7 +427,7 @@ option as follows:

Of course, in practice, you should only set DEBUG_TYPE at the top of a file, to specify the debug type for the entire module (if you do this before -you #include "Support/Debug.h", you don't have to insert the ugly +you #include "llvm/Support/Debug.h", you don't have to insert the ugly #undef's). Also, you should use names more meaningful than "foo" and "bar", because there is no system in place to ensure that names do not conflict. If two different modules use the same string, they will all be turned @@ -446,7 +446,7 @@ even if the source lives in multiple files.

The "Support/Statistic.h" file +href="/doxygen/Statistic_8h-source.html">llvm/ADT/Statistic.h" file provides a template named Statistic that is used as a unified way to keep track of what the LLVM compiler is doing and how effective various optimizations are. It is useful to see what optimizations are contributing to