summaryrefslogtreecommitdiffstats
path: root/llvm/test/Scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove prcontext.Daniel Dunbar2009-09-101-36/+0
| | | | llvm-svn: 81427
* llvm-mc/Mach-O: Dump relocations and section data (optionally) in my Mach-O ↵Daniel Dunbar2009-08-261-6/+28
| | | | | | dumper. llvm-svn: 80087
* llvm-mc: Fix tests for python variations in int printing, sigh.Daniel Dunbar2009-08-261-1/+1
| | | | llvm-svn: 80069
* Fix typo.Daniel Dunbar2009-08-221-1/+1
| | | | llvm-svn: 79738
* llvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to beDaniel Dunbar2009-08-221-1/+4
| | | | | | converted to Python ints if possible. llvm-svn: 79736
* llvm-mc: Clean up some handling of symbol/section association to be more correctDaniel Dunbar2009-08-221-12/+84
| | | | | | | | | (external was really undefined and there wasn't an explicit representation for absolute symbols). - This still needs some cleanup to how the absolute "pseudo" section is dealt with, but I haven't figured out the nicest approach yet. llvm-svn: 79733
* llvm-mc: Start MCAssembler and MCMachOStreamer.Daniel Dunbar2009-08-211-0/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Together these form the (Mach-O) back end of the assembler. - MCAssembler is the actual assembler backend, which is designed to have a reasonable API. This will eventually grow to support multiple object file implementations, but for now its Mach-O/i386 only. - MCMachOStreamer adapts the MCStreamer "actions" API to the MCAssembler API, e.g. converting the various directives into fragments, managing state like the current section, and so on. - llvm-mc will use the new backend via '-filetype=obj', which may eventually be, but is not yet, since I hear that people like assemblers which actually assemble. - The only thing that works at the moment is changing sections. For the time being I have a Python Mach-O dumping tool in test/scripts so this stuff can be easily tested, eventually I expect to replace this with a real LLVM tool. - More doxyments to come. I assume that since this stuff doesn't touch any of the things which are part of 2.6 that it is ok to put this in not so long before the freeze, but if someone objects let me know, I can pull it. llvm-svn: 79612
* simplify shell syntax to work better on solaris, patch byChris Lattner2008-06-251-1/+1
| | | | | | Nathan Keynes! llvm-svn: 52721
* Add a test script for counting lines. This can be used instead of theDan Gohman2007-08-101-0/+17
| | | | | | | | "| grep foo | wc -l | grep 2" idiom used by many tests, so that, for example, tests don't mistakenly accept a count of 12 when 2 is expected. Also, the new form is more consice: "| grep foo | count 2". llvm-svn: 40988
* Add a script to run a command but ignore its return code. This scriptReid Spencer2007-04-141-0/+10
| | | | | | | | | always returns 0. This is useful with the llvm.exp based dejagnu testing when a test wants to check the error output of tool invocation that returns non-zero. Since every command is checked with llvm.exp, there needs to be a way to prevent that checking and this script is it. llvm-svn: 35991
* Make it handle plain old cast too, for old assembly.Reid Spencer2006-11-131-1/+1
| | | | llvm-svn: 31702
* Handle ptrtoint and inttoptrReid Spencer2006-11-131-1/+1
| | | | llvm-svn: 31701
* Instruction name changes.Reid Spencer2006-11-111-1/+1
| | | | llvm-svn: 31663
* Okay, need a pattern before and after the cast pattern.Reid Spencer2006-11-041-2/+3
| | | | llvm-svn: 31443
* Allow the regular expression to be extended by a parameter.Reid Spencer2006-11-041-2/+5
| | | | llvm-svn: 31442
* For PR950:Reid Spencer2006-11-041-0/+12
| | | | | | | A little script to return 1 if it encounters any of the cast instructions on the stdin. llvm-svn: 31441
* Remove last remnants of Python/QMTest supportReid Spencer2004-12-081-29/+0
| | | | llvm-svn: 18672
* Rewrote prcontext.py in tcl.Tanya Lattner2004-11-131-0/+36
| | | | llvm-svn: 17708
* New python script that print a specified number of lines surrounding aJohn Criswell2004-08-021-0/+29
| | | | | | | located pattern. In other words, grep -C for Solaris. llvm-svn: 15425
* These transitional scripts are no longer necessary, no one should have `as' orMisha Brukman2003-09-162-10/+0
| | | | | | `dis' anymore. llvm-svn: 8563
* Near-term fix for renaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.Misha Brukman2003-08-282-0/+10
| | | | llvm-svn: 8194
* Remove obsolete scriptChris Lattner2003-06-281-19/+0
| | | | llvm-svn: 6967
* New script for testrunner programsChris Lattner2003-06-281-0/+12
| | | | llvm-svn: 6956
* Handle quoting rightChris Lattner2003-06-281-1/+1
| | | | llvm-svn: 6954
* Initial checkin of grep-not scriptChris Lattner2003-06-281-0/+19
| | | | llvm-svn: 6951
* Describe directoryChris Lattner2003-06-281-0/+2
llvm-svn: 6949
OpenPOWER on IntegriCloud