94bc246a8b2fd0ef371c8f3846ac9a5a367ed9ab |
|
10-Aug-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove references to compression in llvm-ar. It has been a long time since we switched from a bytecode+bzip2 to the current bitcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
5b08230930ee219382f6d0abe9d16aa160907169 |
|
14-Dec-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/FileSystem: Add file_magic and move a vew clients over to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
898fd7fd61c743c9b90ee5d0fa180b9ae1990d7b |
|
01-Mar-2011 |
Dan Gohman <gohman@apple.com> |
Revert PathV2 changes, as sys::fs::unique_file is not finished yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126773 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
02e27ed21be144e0ce6586f6f29c2d1ba45a395e |
|
17-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Archive: Fix temp path names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
e7a820c208415094723adabd8336d3a036692ea4 |
|
17-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
UnRevert "Revert "Archive: Replace all internal uses of PathV1 with PathV2. The external API still uses PathV1."" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
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/ArchiveWriter.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/ArchiveWriter.cpp
|
c850965ec06bdf3f71374cee8d63a5401e4228de |
|
16-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Revert "Archive: Replace all internal uses of PathV1 with PathV2. The external API still uses PathV1." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
770772e831d1ff1dfbc0e94fb3212437e597d7a5 |
|
15-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Archive: Replace all internal uses of PathV1 with PathV2. The external API still uses PathV1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123551 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.cpp
|
d27047f87dae7c6eb59069b1e5d1368a0b2db5ff |
|
27-May-2010 |
Dan Gohman <gohman@apple.com> |
Eliminate some unnessary Path::exists() calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
4bb31bfaa3ed2495dd99304316344dbe54f1d756 |
|
30-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Fix a grammaro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.cpp
|
861d20aab446cce039e5e142091735d99fb426ef |
|
11-Jun-2009 |
Duncan Sands <baldrick@free.fr> |
Avoid leaking memory in an error path. Noticed by cppcheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
59500c8f9a76b3386329b6f837255c16f4e8b61b |
|
21-Nov-2008 |
Devang Patel <dpatel@apple.com> |
Silence unused variable warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
a5464f3659a721328da98f7096390ac32f9ec6ed |
|
24-May-2008 |
Owen Anderson <resistor@mac.com> |
Create archives with the same permissions are ar. Patch by Mikael Lepistö. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51540 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
844731a7f1909f55935e3514c9e713a62d67662e |
|
13-May-2008 |
Dan Gohman <gohman@apple.com> |
Clean up the use of static and anonymous namespaces. This turned up several things that were neither in an anonymous namespace nor static but not intended to be global. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51017 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.cpp
|
63b8c1f6f118dfef44422283947bdc3388c0fcb4 |
|
28-Feb-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
Make llvm-ar behave like ar, if you create an empty archive, ar creates an empty archive. llvm-ar would not generate an output file in this case git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
4c71dfe356716e6bc1993ef5efdced08b68fe612 |
|
20-Feb-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Update gcc 4.3 warnings fix patch with recent head changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.cpp
|
e07c15c734fcac9f6a82ae20a93b18799d6ca992 |
|
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
add bitcode support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36856 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.cpp
|
a21900d5a4a6522c453d7f346cb5be78bf52a8a0 |
|
28-Nov-2006 |
Bill Wendling <isanbard@gmail.com> |
Use ostream instead of iostream git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
0b5a504d105514178c80b886321221fbe5ac1131 |
|
25-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
5a060775da43ec2ef37e839e93a0805d543708a9 |
|
23-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
e5c9cb5eb6bce502faaedea04014dab46f6540f4 |
|
23-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Remove exceptions from the Path::create*OnDisk methods. Update their users to handle error messages via arguments and result codes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
a5ec45d3c1e08166328ca1fa1e72d21a2b97cf04 |
|
22-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Inverse the error check logic for the MappedFile::map() call. It returns a null pointer when there is an error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
0c33231eff17edbdabdb186e1fae718cf94b58b2 |
|
29-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Modify Path::eraseFromDisk to not throw an exception. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
8d8a7ffe580c622e7e43f1426bca64e517de0d06 |
|
07-Jul-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Finish removal of EH usage from the Archive library. The REQUIRES_EH flag in lib/Bytecode/Archive/Makefile is now removed. One small step closer to a smaller LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
3039b99697639479bf7ce1a447cb0b9a580a7606 |
|
07-Jul-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Remove EH use from the Archive library and adjust its users accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
a229c5cce75209047db32c6039aa0b0fd481f049 |
|
08-Jul-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Final Changes For PR495: This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
dd04df0ec33a903ee7fc747701bafde622f77d8b |
|
08-Jul-2005 |
Reid Spencer <rspencer@reidspencer.com> |
For PR495: Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
3468e57f648ae27d4c860fa47a407bb4d669bb40 |
|
21-Apr-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Eliminate calls to system dependent function getuid by using the newly implemented sys::Process::GetCurrentUserId function. Replace similarly for getgid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
4b2afe63940fdc488b780bfff1204c594a9b7d31 |
|
20-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Initialize fields mode, uid, and gid. Patch by Markus Oberhumer. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
5fb6ed4ae608c6f7ef589f1069b5dd5c7bdbd60b |
|
22-Jan-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Use binary mode for reading/writing bytecode files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
e1337210475d13ed44eb3c9e4dceaf0781e126f4 |
|
20-Dec-2004 |
Jeff Cohen <jeffc@jolt-lang.org> |
Fix problems uncovered by VC++ (first time compiled by VC++) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
cda985e1912d6f09a21bc84660dca4c3efdcb939 |
|
15-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * Remove #inclusion of FileUtilities.h, not needed any more. * Convert getUniqueFilename -> sys::Pat::makeUnique() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
84472d6e3c79a53a28e4351da63140709bc732a7 |
|
25-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Adjust to Compressor interface change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.cpp
|
6405c9ec9f76fd9b8a3b35d2408a74485dc5d00a |
|
19-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Correct the computation of when to add the padding. It is not based on the member's size. It is based on the oddness/evenness of the file pointer. This fixes a bug with llvm-ar not being able to read archives produced by llvm-ranlib when there are members with odd long file name lengths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17997 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
d4543da9b0e81c234143c493458674f634dab970 |
|
17-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Fix some things for Mac OSX archives: * ensure trailing spaces are eliminated so they don't factor into the length of a member's name. * make sure all the bytes of a name are written even if the name ends in multiple null characters (bug in OSX ar) * make sure we provide the full member name when searching for symbols so the module name is not accidentally duplicated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
96ce335f4e38fd38693f4c6cc4f745f3f4746470 |
|
17-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Adjust long file name writing to match BSD 4.4 and Mac OSX style archives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
30e4056a5d9be0ff60702b609b1fa404899197b7 |
|
16-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Fix typeo in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
87f90729d699b23843e3f87b2565e9caac395e7b |
|
16-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Per code review:\ * Make the numVbrBytes function more efficient and better documented \ * Fix a bug in name truncation \ * Add comments before functions \ * Get rid of functions that are now inlined into the header \ * Do not have Archive doing symbol table printing \ * Put assert comments into the assert so they print out \ * Make sure foreign symbol tables are written git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17884 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.cpp
|
766b793143fa863283498233e8962391da09b63a |
|
15-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Changes necessary to enable linking of archives without LLVM symbol tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Archive/ArchiveWriter.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/ArchiveWriter.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/ArchiveWriter.cpp
|