summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Debug.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix accidental concatenation for "outputuntil" in the -debug-buffer-size ↵Erik Verbruggen2013-02-201-1/+1
| | | | | | option description. llvm-svn: 175682
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-2/+2
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Typos.Chad Rosier2012-07-271-1/+1
| | | | llvm-svn: 160897
* Make comments in Debug.cpp and Debug.h consistent. Rename SetCurrentDebugType;Chad Rosier2012-07-261-5/+5
| | | | | | | Function names should be camel case, and start with a lower case letter. No functional change intended. llvm-svn: 160813
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120298
* Fix a bunch of namespace polution.Dan Gohman2010-04-151-2/+9
| | | | llvm-svn: 101376
* Fix minor style issues.Dan Gohman2010-03-241-2/+1
| | | | llvm-svn: 99414
* Fix an infinite recursion problem. dbgs() should return errs() inDavid Greene2010-01-201-2/+2
| | | | | | release mode. llvm-svn: 94001
* Clarify how dbgs() operates.David Greene2009-12-231-1/+1
| | | | llvm-svn: 92083
* Provide dbgs(), a circular-buffering debug output stream. By default itDavid Greene2009-12-231-1/+55
| | | | | | | | simply passes output to errs(). If -debug-buffer-size=N is set N > 0, dbgs() buffers its output until program termination and dumps the last N characters sent to it. This is handy when debugging very large inputs. llvm-svn: 92002
* Make lib/Support/Debug.cpp SetCurrentDebugType implementation part of llvm ↵Xerxes Ranby2009-11-091-1/+1
| | | | | | namespace to match function declaration in Debug.h. llvm-svn: 86544
* add a new 'SetCurrentDebugType' API (requested by Andrew Haley for JITChris Lattner2009-10-281-0/+11
| | | | | | | stuff) to programmatically control the current debug flavor. While I'm at it, doxygenate Debug.h and clean it up. llvm-svn: 85395
* Fix some refactos for iostream changes (in -Asserts mode).Daniel Dunbar2009-08-231-5/+5
| | | | | | - The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843
* eliminate DOUT and make Debug.h not include Streams.h anymore, woo!Chris Lattner2009-08-231-40/+18
| | | | llvm-svn: 79835
* Hide the DOUT static variable behind a function interface.David Greene2009-07-201-0/+8
| | | | llvm-svn: 76425
* Make these variables static.Dan Gohman2008-04-231-4/+4
| | | | llvm-svn: 50196
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* The previous implementation of LLVM Streams wasn't removing symbols. ThisBill Wendling2007-01-031-1/+2
| | | | | | one should. llvm-svn: 32845
* Added an automatic cast to "std::ostream*" etc. from OStream. We then canBill Wendling2006-12-171-2/+2
| | | | | | | rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct print() method. llvm-svn: 32636
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-3/+3
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Moved definition of llvm_ostream wrappers to the Streams.cpp file.Bill Wendling2006-11-171-4/+3
| | | | llvm-svn: 31819
* Added "DOUT" macro. This is used as a replacement for the std::cerrBill Wendling2006-11-171-0/+12
| | | | | | | | | | | | stream. It centralizes the use of std::cerr so that static c'tor/d'tors aren't scattered around all over the place. The way to use it is like this: DOUT << "This is a status line: " << Var << "\n"; If "-debug" is specified, it will print. Otherwise, it'll not print. If NDEBUG is defined, the DOUT does nothing. llvm-svn: 31798
* Remove trailing whitespaceMisha Brukman2005-04-211-2/+2
| | | | llvm-svn: 21422
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Finegrainify namespacificationChris Lattner2003-12-141-7/+4
| | | | llvm-svn: 10464
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Reenable optimized buildChris Lattner2003-08-121-0/+4
| | | | llvm-svn: 7788
* Move debug functionality to Debug.cpp/Debug.hChris Lattner2003-08-011-0/+53
llvm-svn: 7494
OpenPOWER on IntegriCloud