Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding disassembler interface and external hook to udis86 library. | Anton Korobeynikov | 2007-01-19 | 1 | -0/+53 |
| | | | | llvm-svn: 33358 | ||||
* | wow, the link was already broken :) | Chris Lattner | 2007-01-06 | 1 | -1/+1 |
| | | | | llvm-svn: 32963 | ||||
* | add a note | Chris Lattner | 2007-01-06 | 1 | -1/+4 |
| | | | | llvm-svn: 32962 | ||||
* | The previous implementation of LLVM Streams wasn't removing symbols. This | Bill Wendling | 2007-01-03 | 2 | -2/+2 |
| | | | | | | one should. llvm-svn: 32845 | ||||
* | eliminate constructor from Statistic class. It is now impossible to get a | Chris Lattner | 2006-12-19 | 1 | -4/+4 |
| | | | | | | static constructor for them :). Transition complete. llvm-svn: 32710 | ||||
* | Refactor statistic a big and introduce a horrible-but-necessary macro | Chris Lattner | 2006-12-19 | 1 | -4/+4 |
| | | | | | | | | (STATISTIC), which allows us to define statistics that don't introduce static ctors into the .o files. I'm migrating code over to use this incrementally. llvm-svn: 32687 | ||||
* | Added an automatic cast to "std::ostream*" etc. from OStream. We then can | Bill Wendling | 2006-12-17 | 2 | -3/+3 |
| | | | | | | | 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 | ||||
* | Change the implementation of statistic to not need destructors at all. | Chris Lattner | 2006-12-08 | 1 | -61/+76 |
| | | | | | | | | | Instead, the stat info is printed when llvm_shutdown() is called. These also don't need static ctors, but getting rid of them is uglier: still investigating. This reduces the number of static dtors in llvm from ~1400 to ~750. llvm-svn: 32372 | ||||
* | Don't use <sstream> in Streams.h but <iosfwd> instead. | Bill Wendling | 2006-12-07 | 5 | -0/+5 |
| | | | | llvm-svn: 32340 | ||||
* | Removed more <iostream> includes | Bill Wendling | 2006-12-07 | 3 | -12/+11 |
| | | | | llvm-svn: 32321 | ||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 8 | -73/+74 |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | ||||
* | merge the Statistic and StatisticBase classes, eliminating virtual methods | Chris Lattner | 2006-12-06 | 1 | -10/+5 |
| | | | | | | and eliminating #includes from the Statistic.h file. llvm-svn: 32282 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 2 | -4/+2 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | Add a helper function | Chris Lattner | 2006-11-28 | 1 | -0/+15 |
| | | | | llvm-svn: 31981 | ||||
* | Removed #include <iostream> and replace with llvm_* streams. | Bill Wendling | 2006-11-26 | 6 | -56/+57 |
| | | | | llvm-svn: 31927 | ||||
* | Make the absolute/relative tolerance information easier to read/understand. | Reid Spencer | 2006-11-25 | 1 | -2/+3 |
| | | | | llvm-svn: 31908 | ||||
* | Moved definition of llvm_ostream wrappers to the Streams.cpp file. | Bill Wendling | 2006-11-17 | 1 | -4/+3 |
| | | | | llvm-svn: 31819 | ||||
* | Added wrappers for the std::cerr/std::cout objects. The wrappers will | Bill Wendling | 2006-11-17 | 1 | -0/+21 |
| | | | | | | soon replace all uses of those objects. llvm-svn: 31817 | ||||
* | Added "DOUT" macro. This is used as a replacement for the std::cerr | Bill Wendling | 2006-11-17 | 1 | -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 redundant <cmath>. | Jim Laskey | 2006-11-08 | 1 | -1/+0 |
| | | | | llvm-svn: 31561 | ||||
* | Include llvm/Support/DataTypes.h to define intptr_t. | John Criswell | 2006-11-08 | 1 | -0/+1 |
| | | | | | | This fixes the build on OpenBSD and potentially other systems. llvm-svn: 31550 | ||||
* | assert.h -> cassert | Rafael Espindola | 2006-11-03 | 1 | -1/+1 |
| | | | | llvm-svn: 31399 | ||||
* | #include <assert.h> | Rafael Espindola | 2006-11-02 | 1 | -0/+1 |
| | | | | llvm-svn: 31386 | ||||
* | Allow FoldingSet clients to pump up the initial hash size. | Jim Laskey | 2006-11-02 | 1 | -2/+4 |
| | | | | llvm-svn: 31377 | ||||
* | add a highly efficient hash table that is specialized for mapping C strings | Chris Lattner | 2006-10-29 | 1 | -0/+134 |
| | | | | | | to some other type. llvm-svn: 31286 | ||||
* | Add a new llvm::Allocator abstraction, which will be used by a container | Chris Lattner | 2006-10-29 | 1 | -0/+106 |
| | | | | | | | I'm about to add. This is similar to, but necessarily different than, the STL allocator class. llvm-svn: 31285 | ||||
* | Try again. | Jim Laskey | 2006-10-29 | 1 | -1/+4 |
| | | | | llvm-svn: 31278 | ||||
* | Not handling zero length strings. | Jim Laskey | 2006-10-29 | 1 | -2/+2 |
| | | | | llvm-svn: 31277 | ||||
* | SmallVector append not insert. | Jim Laskey | 2006-10-27 | 1 | -5/+1 |
| | | | | llvm-svn: 31224 | ||||
* | Grrr. | Jim Laskey | 2006-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 31223 | ||||
* | Temp patch for missing functionality. | Jim Laskey | 2006-10-27 | 1 | -0/+4 |
| | | | | llvm-svn: 31222 | ||||
* | MathExtras isn't in the llvm/ADT directory but in the llvm/Support directory. | Bill Wendling | 2006-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 31219 | ||||
* | Apply editorials. | Jim Laskey | 2006-10-27 | 1 | -43/+55 |
| | | | | llvm-svn: 31218 | ||||
* | Breakout folding hash set from SelectionDAGCSEMap. | Jim Laskey | 2006-10-27 | 1 | -0/+282 |
| | | | | llvm-svn: 31215 | ||||
* | Beef up the output from DiffFilesWithTolerance by setting the error code | Reid Spencer | 2006-10-18 | 1 | -3/+16 |
| | | | | | | | to describe the difference being reported. This assists with understanding differences an llvm-test and should help with bugpoint too. llvm-svn: 31044 | ||||
* | avoid a ctor/dtor issue with the ProgramName global. | Chris Lattner | 2006-10-13 | 1 | -3/+9 |
| | | | | llvm-svn: 30925 | ||||
* | shrink anon-ns and mark stuff static. No functionality changes | Chris Lattner | 2006-10-12 | 1 | -10/+11 |
| | | | | llvm-svn: 30922 | ||||
* | Fix a static dtor issue | Chris Lattner | 2006-10-04 | 1 | -5/+6 |
| | | | | llvm-svn: 30726 | ||||
* | Fix more static dtor issues | Chris Lattner | 2006-10-04 | 2 | -73/+62 |
| | | | | llvm-svn: 30725 | ||||
* | Define this in the correct n/s | Chris Lattner | 2006-09-29 | 1 | -1/+1 |
| | | | | llvm-svn: 30671 | ||||
* | new helper class to provide more explicit management of static ctor/dtors. | Chris Lattner | 2006-09-28 | 1 | -0/+53 |
| | | | | llvm-svn: 30638 | ||||
* | Instantiate Statistic<> in one place, not in every .o file that uses it. | Chris Lattner | 2006-08-30 | 1 | -0/+2 |
| | | | | llvm-svn: 29971 | ||||
* | Minor code cleanups | Chris Lattner | 2006-08-27 | 1 | -11/+10 |
| | | | | llvm-svn: 29917 | ||||
* | Add external definitions for commonly-used template specializations and add | Chris Lattner | 2006-08-27 | 1 | -7/+28 |
| | | | | | | | | anchor methods to others. This eliminates the vtable/template method bloat in .o files that defining a cl::opt used to impose (~4K per .o file for one cp::opt<unsigned>). llvm-svn: 29909 | ||||
* | Remove a character to avoid line exceeding 80 cols. | Reid Spencer | 2006-08-24 | 1 | -1/+1 |
| | | | | llvm-svn: 29860 | ||||
* | For PR797: | Reid Spencer | 2006-08-23 | 1 | -1/+0 |
| | | | | | | | This library no longer throws nor handles exceptions, so turn off the REQUIRES_EH flag. llvm-svn: 29849 | ||||
* | For PR797: | Reid Spencer | 2006-08-23 | 1 | -83/+75 |
| | | | | | | | Final remove of exception handling from this file. lib/System can no longer throw exceptions so there's no need for try/catch blocks here. llvm-svn: 29848 | ||||
* | Make the ProgramName variable a std::string so we can eliminate the path | Reid Spencer | 2006-08-23 | 1 | -26/+14 |
| | | | | | | | | | | | | | | portion fo the program name via sys::Path().getLast(). This makes error messages more readable since this is invariably used only in error messages. Instead of: /path/to/llvm/bin/directory/toolname: error message we will now get: toolname: error message Also, since we always have a program name (even if its defaulted), don't check to see if it is set or not when generating error messages. This eliminates a bunch of constant strings, saving a little under 1K of data. llvm-svn: 29842 | ||||
* | For PR797: | Reid Spencer | 2006-08-22 | 1 | -6/+14 |
| | | | | | | | | | | Adjust users of MappedFile to its new non-throwing interface. Note that in most cases the lazy step of just throwing after a call to MappedFile was installed. This was done in the name of incremental changes. Getting rid of the new throw statements will take adjustment of interfaces and propagation of errors to higher levels. Those changes will come in subsequent patches. llvm-svn: 29817 | ||||
* | Adding new Dwarf constants. | Jim Laskey | 2006-08-21 | 1 | -0/+1 |
| | | | | llvm-svn: 29798 |