diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 01:55:32 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 01:55:32 +0000 |
commit | 04bbd9cd345a7fb47e2241ba1c0a315d9130bf54 (patch) | |
tree | 5ecba050340727743c0849c14121b5cf7481c95e /llvm/docs/ProgrammersManual.html | |
parent | ea23c3ba4612627ebdb331068f11e02ec6916e75 (diff) | |
download | bcm5719-llvm-04bbd9cd345a7fb47e2241ba1c0a315d9130bf54.tar.gz bcm5719-llvm-04bbd9cd345a7fb47e2241ba1c0a315d9130bf54.zip |
Rewrite examples to use DEBUG instead of DOUT.
llvm-svn: 77042
Diffstat (limited to 'llvm/docs/ProgrammersManual.html')
-rw-r--r-- | llvm/docs/ProgrammersManual.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index bce592e9529..dba72136970 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -448,7 +448,7 @@ tool) is run with the '<tt>-debug</tt>' command line argument:</p> <div class="doc_code"> <pre> -DOUT << "I am here!\n"; +DEBUG(errs() << "I am here!\n"); </pre> </div> @@ -493,16 +493,16 @@ option as follows:</p> <div class="doc_code"> <pre> -DOUT << "No debug type\n"; #undef DEBUG_TYPE +DEBUG(errs() << "No debug type\n"); #define DEBUG_TYPE "foo" -DOUT << "'foo' debug type\n"; +DEBUG(errs() << "'foo' debug type\n"); #undef DEBUG_TYPE #define DEBUG_TYPE "bar" -DOUT << "'bar' debug type\n"; +DEBUG(errs() << "'bar' debug type\n")); #undef DEBUG_TYPE #define DEBUG_TYPE "" -DOUT << "No debug type (2)\n"; +DEBUG(errs() << "No debug type (2)\n"); </pre> </div> |