Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prune #includes from llvm/Linker.h and llvm/System/Path.h, | Chris Lattner | 2009-08-23 | 3 | -26/+25 |
| | | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869 | ||||
* | Make LLVMContext and LLVMContextImpl classes instead of structs. | Benjamin Kramer | 2009-08-11 | 1 | -1/+1 |
| | | | | llvm-svn: 78690 | ||||
* | Factor some of the constants+context related code out into a separate ↵ | Owen Anderson | 2009-08-04 | 1 | -1/+1 |
| | | | | | | | | header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. llvm-svn: 78115 | ||||
* | Fix some non-sensical code. | Daniel Dunbar | 2009-07-13 | 1 | -1/+4 |
| | | | | | | - This makes it more like other similar code in Archive handling. llvm-svn: 75452 | ||||
* | Make the use of const with respect to LLVMContext sane. Hopefully this is ↵ | Owen Anderson | 2009-07-01 | 4 | -8/+8 |
| | | | | | | | | the last time, for the moment, that I will need to make far-reaching changes. llvm-svn: 74655 | ||||
* | Hold the LLVMContext by reference rather than by pointer. | Owen Anderson | 2009-07-01 | 4 | -8/+9 |
| | | | | llvm-svn: 74640 | ||||
* | Add a pointer to the owning LLVMContext to Module. This requires threading ↵ | Owen Anderson | 2009-07-01 | 4 | -19/+25 |
| | | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614 | ||||
* | Avoid leaking memory in an error path. Noticed | Duncan Sands | 2009-06-11 | 1 | -3/+4 |
| | | | | | | by cppcheck. llvm-svn: 73187 | ||||
* | Add the private linkage. | Rafael Espindola | 2009-01-15 | 1 | -2/+2 |
| | | | | llvm-svn: 62279 | ||||
* | Removed trailing whitespace from Makefiles. | Misha Brukman | 2009-01-09 | 1 | -3/+3 |
| | | | | llvm-svn: 61991 | ||||
* | Tidy up #includes, deleting a bunch of unnecessary #includes. | Dan Gohman | 2009-01-05 | 1 | -0/+1 |
| | | | | llvm-svn: 61715 | ||||
* | Silence unused variable warnings. | Devang Patel | 2008-11-21 | 1 | -0/+4 |
| | | | | llvm-svn: 59841 | ||||
* | Initial support for the CMake build system. | Oscar Fuentes | 2008-09-22 | 1 | -0/+5 |
| | | | | llvm-svn: 56419 | ||||
* | Fold the useful features of alist and alist_node into ilist, and | Dan Gohman | 2008-07-28 | 2 | -4/+2 |
| | | | | | | | | | | | | | | | | a new ilist_node class, and remove them. Unlike alist_node, ilist_node doesn't attempt to manage storage itself, so it avoids the associated problems, including being opaque in gdb. Adjust the Recycler class so that it doesn't depend on alist_node. Also, change it to use explicit Size and Align parameters, allowing it to work when the largest-sized node doesn't have the greatest alignment requirement. Change MachineInstr's MachineMemOperand list from a pool-backed alist to a std::list for now. llvm-svn: 54146 | ||||
* | Create archives with the same permissions are ar. | Owen Anderson | 2008-05-24 | 1 | -0/+7 |
| | | | | | | Patch by Mikael Lepistö. llvm-svn: 51540 | ||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 2 | -3/+3 |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
* | Change the MemoryBuffer::getFile* methods to take just a pointer to the | Chris Lattner | 2008-04-01 | 2 | -7/+4 |
| | | | | | | | | start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041 | ||||
* | change the archive stuff to use MemoryBuffer instead of mappedfile. | Chris Lattner | 2008-04-01 | 3 | -47/+34 |
| | | | | | | | MemoryBuffer is higher level and more closely matches the model needed. llvm-svn: 49029 | ||||
* | Remove MappedFile support for mapping files for write and exec | Chris Lattner | 2008-04-01 | 2 | -3/+3 |
| | | | | | | | and shared. This complicates the design, is not used, and probably doesn't even work. llvm-svn: 49022 | ||||
* | add missing #includes | Chris Lattner | 2008-04-01 | 3 | -0/+3 |
| | | | | llvm-svn: 49020 | ||||
* | Fix thinko: alias always defines new symbol. Even is aliasee itself is ↵ | Anton Korobeynikov | 2008-03-11 | 1 | -4/+2 |
| | | | | | | undefined. llvm-svn: 48203 | ||||
* | Add alias with non-external aliasee to the list of exported symbols of the ↵ | Anton Korobeynikov | 2008-03-04 | 1 | -1/+10 |
| | | | | | | library. llvm-svn: 47899 | ||||
* | Make llvm-ar behave like ar, if you create an empty archive, ar creates an ↵ | Andrew Lenharth | 2008-02-28 | 1 | -1/+1 |
| | | | | | | empty archive. llvm-ar would not generate an output file in this case llvm-svn: 47733 | ||||
* | Update gcc 4.3 warnings fix patch with recent head changes | Anton Korobeynikov | 2008-02-20 | 1 | -1/+2 |
| | | | | llvm-svn: 47368 | ||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 2 | -0/+4 |
| | | | | | | annoying warnings. llvm-svn: 47367 | ||||
* | Use empty() instead of comparing size() with zero. | Dan Gohman | 2008-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 46514 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 4 | -8/+8 |
| | | | | llvm-svn: 45418 | ||||
* | remove attribution from lib Makefiles. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45415 | ||||
* | finishing touches of bytecode -> bitcode changes. also unbreak Windows | Gabor Greif | 2007-07-06 | 1 | -1/+1 |
| | | | | llvm-svn: 37950 | ||||
* | eliminate residual cruft related to recognizing bytecode | Gabor Greif | 2007-07-06 | 3 | -26/+8 |
| | | | | | | | files. bitcode files are the only LLVM format left. llvm-svn: 37945 | ||||
* | Here is the bulk of the sanitizing. | Gabor Greif | 2007-07-05 | 4 | -35/+35 |
| | | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913 | ||||
* | adjust this to live in lib/Archive | Chris Lattner | 2007-05-06 | 5 | -0/+1486 |
llvm-svn: 36886 |