summaryrefslogtreecommitdiffstats
path: root/llvm/test/Archive
Commit message (Collapse)AuthorAgeFilesLines
* Move tests from test/Archive to test/Object.Rafael Espindola2013-07-1017-92/+0
| | | | | | | | There is no lib/Archive anymore and some archive tests were in test/Archive and others in test/Object. Since archive is just one of the formats supported by lib/Object, test/Object is probably the best location. llvm-svn: 186038
* Fix an ordering problem in the test.Manuel Klimek2013-06-211-1/+1
| | | | | | | | | The output can be in different orders, which breaks the test in some situations. I have not yet found out what the root cause of the order difference is. This fixes our internal build. If it is not the right solution, feel free to roll back. llvm-svn: 184535
* Use only the filename when deciding if a file is a duplicate.Rafael Espindola2013-06-201-0/+2
| | | | | | Matches gnu ar behavior. llvm-svn: 184448
* Add r184420 back, but also handle long file names.Rafael Espindola2013-06-201-0/+8
| | | | | | | | | | Original message: Don't include directory names in archives. This matches the behavior of both gnu and os x versions of ar. llvm-svn: 184423
* Revert "Don't include directory names in archives."Rafael Espindola2013-06-201-6/+0
| | | | | | | This reverts commit 184420. Investigating the bot failures. llvm-svn: 184421
* Don't include directory names in archives.Rafael Espindola2013-06-201-0/+6
| | | | | | This matches the behavior of both gnu and os x versions of ar. llvm-svn: 184420
* Remove the 'R' modifier.Rafael Espindola2013-06-191-0/+2
| | | | | | | It is not present in GNU or OS X versions and doesn't make a lot of sense for llvm-ar. llvm-svn: 184306
* Remove the LLVM specific archive index.Rafael Espindola2013-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Archive files (.a) can have a symbol table indicating which object files in them define which symbols. The purpose of this symbol table is to speed up linking by allowing the linker the read only the .o files it is actually going to use instead of having to parse every object's symbol table. LLVM's archive library currently supports a LLVM specific format for such table. It is hard to see any value in that now that llvm-ld is gone: * System linkers don't use it: GNU ar uses the same plugin as the linker to create archive files with a regular index. The OS X ar creates no symbol table for IL files, I assume the linker just parses all IL files. * It doesn't interact well with archives having both IL and native objects. * We probably don't want to be responsible for yet another archive format variant. This patch then: * Removes support for creating and reading such index from lib/Archive. * Remove llvm-ranlib, since there is nothing left for it to do. We should in the future add support for regular indexes to llvm-ar for both native and IL objects. When we do that, llvm-ranlib should be reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s". llvm-svn: 184019
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ↵Eli Bendersky2012-02-162-3/+1
| | | | | | | | run with LIT now and now Dejagnu. dg.exp is no longer needed. Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
* Avoid writing to an arbitrary filename during the test run by writing toChandler Carruth2011-07-021-8/+8
| | | | | | a file descriptor. llvm-svn: 134355
* Many LLVM tests relies on standard output stream be in the binary mode. ↵Galina Kistanova2011-05-051-0/+4
| | | | | | Which is not always the case (on Windows in particular). The patch adds a test to verify that the standard output stream is actually in the binary mode. llvm-svn: 130936
* Revert test/Archive/check_binary_output.ll". It fails on a buildbot.NAKAMURA Takumi2010-12-071-4/+0
| | | | llvm-svn: 121113
* test/Archive/check_binary_output.ll: Add a new test to check output of ↵NAKAMURA Takumi2010-12-071-0/+4
| | | | | | 'llvm-ar -p' is sane. Thanks to Danil Malyshev! llvm-svn: 121106
* test/Archive/extract.ll: Use cmp instead of diff. Thanks to Danil Malyshev!NAKAMURA Takumi2010-12-021-4/+4
| | | | llvm-svn: 120698
* test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.NAKAMURA Takumi2010-12-018-25/+21
| | | | llvm-svn: 120506
* These tests are no longer stored in *CVS*.Dan Gohman2010-08-041-1/+1
| | | | llvm-svn: 110201
* fix a broken archive that was breaking dejagnu only (not lit)Chris Lattner2010-02-041-0/+0
| | | | | | after r95292 llvm-svn: 95296
* From PR6228:Chris Lattner2010-02-041-0/+0
| | | | | | | | | | | | "Attached patch removes the extra NUL bytes from the output and changes test/Archive/MacOSX.toc from a binary to a text file (removes svn:mime-type=application/octet-stream and adds svn:eol-style=native). I can't figure out how to get SVN to include the new contents of the file in the patch so I'm attaching it separately." Patch by James Abbatiello! llvm-svn: 95292
* Merge Archive/extract* tests into one; this avoids a race when tests are run inDaniel Dunbar2009-09-085-23/+16
| | | | | | parallel (the test should really use temps for the output, though). llvm-svn: 81287
* sabre brings to my attention that the 'tr' suffix is also obsoleteGabor Greif2008-05-201-1/+1
| | | | llvm-svn: 51349
* Rename the last test with .llx extension to .ll, resolve duplicate test by ↵Gabor Greif2008-05-201-1/+1
| | | | | | renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too. llvm-svn: 51328
* Delete the svn:executable property on these files, which aren't executable.Dan Gohman2007-07-231-0/+0
| | | | llvm-svn: 40441
* Convert .cvsignore filesJohn Criswell2007-06-291-3/+0
| | | | llvm-svn: 37801
* This needs to stay in the old bytecode format.Reid Spencer2007-04-161-0/+0
| | | | llvm-svn: 36113
* This tests aren't particularly interesting. They are redundant with theReid Spencer2007-04-165-34/+0
| | | | | | | extract_* tests. They are also perniciously difficult to maintain because they depend on the bytecode format. llvm-svn: 36112
* Update for 2.0 bytecode format.Reid Spencer2007-04-161-0/+0
| | | | llvm-svn: 36111
* For PR1336:Reid Spencer2007-04-154-1/+4
| | | | | | XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed. llvm-svn: 36093
* For PR1319: Upgrade to new test harness.Reid Spencer2007-04-151-2/+2
| | | | llvm-svn: 36091
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-111-1/+1
| | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. llvm-svn: 35918
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-1727-0/+118
llvm-svn: 33296
OpenPOWER on IntegriCloud