3c98e14bc9b747b66c048b008f371ac03323c913 |
|
16-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
UnRevert "Revert the archive part of "Support/PathV2: Add identify_magic."" This reverts commit dd103021a889a986a181ce36ed7b0e8dc9b645e1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
dd103021a889a986a181ce36ed7b0e8dc9b645e1 |
|
16-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Revert the archive part of "Support/PathV2: Add identify_magic." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
28f0ed5c9de4a68f34c0219d4ab83652c4647150 |
|
15-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV2: Add identify_magic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123548 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
83a113b77c1b57f14175db9d401b949ed64e77ad |
|
10-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix Whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123152 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
54453f2978c76b3aa71be7bb4e9657c8539f8648 |
|
10-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
3ff9563c3e391954b2e224afcf8b2b0fcc3888aa |
|
16-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
333fb04506233255f10d8095c9e2de5e5f0fdc6f |
|
09-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
9d44e702725a534c8e80edce52c7e71f71f37c06 |
|
19-Apr-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Don't write into MemoryBuffers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
dfd4bbfdfba518f194f4795dfc963dfa456d0246 |
|
19-Apr-2010 |
Dan Gohman <gohman@apple.com> |
Fix -Wcast-qual warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
f0356fe140af1a30587b9a86bcfb1b2c51b8ce20 |
|
27-Jan-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Kill ModuleProvider and ghost linkage by inverting the relationship between Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
74382b7c699120fbec5cb5603c9cf4212eb37f06 |
|
24-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Prune #includes from llvm/Linker.h and llvm/System/Path.h, 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
4892cb761e2989ca37697425e91a3016f45b8888 |
|
13-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix some non-sensical code. - This makes it more like other similar code in Archive handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
4434ed44c45c87a72b7a0bf2f91211f895022b91 |
|
02-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the moment, that I will need to make far-reaching changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
31895e73591d3c9ceae731a1274c8f56194b9616 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
8b477ed579794ba6d76915d56b3f448a7dd20120 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Add a pointer to the owning LLVMContext to Module. This requires threading 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
bb46f52027416598a662dc1c58f48d9d56b1a65b |
|
15-Jan-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add the private linkage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
fed90b6d097d50881afb45e4d79f430db66dd741 |
|
28-Jul-2008 |
Dan Gohman <gohman@apple.com> |
Fold the useful features of alist and alist_node into ilist, and 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54146 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
038112a4e0a9afd656f415ab397a230ae5921627 |
|
01-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Change the MemoryBuffer::getFile* methods to take just a pointer to the 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
7f6b4479044e7f6553f517737caa18e4e543697c |
|
01-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
change the archive stuff to use MemoryBuffer instead of mappedfile. MemoryBuffer is higher level and more closely matches the model needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
bdbd2d710c665bcdf31cbed4b44cf3f94ba746e7 |
|
01-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Remove MappedFile support for mapping files for write and exec and shared. This complicates the design, is not used, and probably doesn't even work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
0838923afb7eadd433694a9d2f0330040e5b36b5 |
|
01-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
add missing #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
7fcb6b65c97f6e2e96643967fca735df528dab8e |
|
11-Mar-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Fix thinko: alias always defines new symbol. Even is aliasee itself is undefined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
d58ceb27c55a8c84d919d6abbf7ea11bc60612e2 |
|
04-Mar-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add alias with non-external aliasee to the list of exported symbols of the library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47899 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
ae9f3a3b7c915f725aef5a7250e88eaeddda03c6 |
|
20-Feb-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
4ee451de366474b9c228b4e5fa573795a715216d |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Remove attribution from file headers, per discussion on llvmdev. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
e75ca3d809ff17260efa320a949cb91ea2b3981e |
|
06-Jul-2007 |
Gabor Greif <ggreif@gmail.com> |
eliminate residual cruft related to recognizing bytecode files. bitcode files are the only LLVM format left. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
a99be51bf5cdac1438069d4b01766c47704961c8 |
|
05-Jul-2007 |
Gabor Greif <ggreif@gmail.com> |
Here is the bulk of the sanitizing. Almost all occurrences of "bytecode" in the sources have been eliminated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
c1d5624d71f7534cfc1bd51b76ead9cea99d3e8d |
|
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
Switch this over to bitcode instead of bytecode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
a021d5d81ad4f9053e130bc443447adc0b619e2f |
|
07-Apr-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Avoid a useless temporary constrution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
44218f9a7e328a0428ffb16f24b567328528122d |
|
07-Apr-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Fix another PathWithStatus issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35744 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
20c348978ea0d3ec7177fab801d619ccbe7d815f |
|
04-Apr-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1302: Adjust useage of sys::Path::FileType for new enumerator names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
8475ec068c213d0bf73f7686d82491a8f12e3b32 |
|
29-Mar-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR789: Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35476 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
5ba2b702c21052346f171ab277824dc0e549ff77 |
|
29-Mar-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR789: Updates for change in interface of getFileStatus method of sys::Path class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
f36c7b860de5cae1ffc817fce430210e942a0bf7 |
|
08-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
move archive-specific stuff out of bcreader into archive library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
f2e292ce58ca07d9bbe3cad75f8baa35bd85964a |
|
07-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
cd5561a56e1521c7dc18744dcd371d255b580fdf |
|
15-Dec-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1050: Convert asserts into error messages. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32607 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
0ff2d31766209ce1a69d4d2c5d35761ef57362aa |
|
25-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Remove exception handling from the bytecode archiver and adjust the llvm-ar tool to accommodate the new interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
751ca6b48cb741797c513fa0e9df369ebd7e4aa5 |
|
22-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Adjust to new interface for MappedFile. Note that the new "throw" statements will be removed later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
252ad03d7db0add504fdcc6bd67c1bc1e28bdd57 |
|
29-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Change Path::getStatusInfo to return a boolean and error string on an error instead of throwing an exception. This reduces the amount of code that is exposed to exceptions (e.g. FileUtilities), though it is clearly only one step along the way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
943b9b6651b552a5c55010c7cdb8f8195ad9e9a6 |
|
07-May-2006 |
Jeff Cohen <jeffc@jolt-lang.org> |
Apply bug fix supplied by Greg Pettyjohn for a bug he found: '<invalid>' is not a legal path on Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
6ff7240a5c484af6e42e2ba6a6d7e03ddf844922 |
|
30-Nov-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Fix a problem with llvm-ranlib that (on some platforms) caused the archive file to become corrupted due to interactions between mmap'd memory segments and file descriptors closing. The problem is completely avoiding by using a third temporary file. Patch provided by Evan Jones git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
6b8a63ae583b53a942dca7c681f4cf161c90d35e |
|
06-May-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove vim settings from source code; people should use llvm/utils/vim/vimrc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
2b37d7cf28b1382420b5e4007042feeb66d21ac8 |
|
21-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
8e827e866176621a60f11340fd44401a0d594de7 |
|
21-Apr-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Use the actual uid/gid for defaulting the fields in the archive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
d19d89a04ca746056e8258543ba580cbde3f31be |
|
28-Jan-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Properly close mapped files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
1fce09125cb46c91407668ca29915c450a482811 |
|
11-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Path::get -> Path::toString git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
9a29db43a7a906162b0fde012b5d16f3b0895023 |
|
20-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Distinguish between BSD4.4 and SVR4 symbol tables git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
1f465809cdc9fef41b756731821226a16dfbb8b4 |
|
16-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Per code review:\ * Make sure all members are initialized upon construction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17882 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
cf6afc623957682d3f7813cc72742dd0100bf5f1 |
|
14-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
First working version git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|
362cbf0d747154f2617f2cabe20187235dcaba60 |
|
06-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
First kinda/sorta working version of the Archive library. Reading is not yet supported but writing works. Way too early to review this. More to come git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/Archive.cpp
|