summaryrefslogtreecommitdiff
path: root/test/Scripts
Commit message (Collapse)AuthorAge
* Teach macho-dump to dump UUIDs.Daniel Dunbar2009-10-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85012 91177308-0d34-0410-b5e6-96231b3b80d8
* remove notcast, it is now dead!Chris Lattner2009-10-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83938 91177308-0d34-0410-b5e6-96231b3b80d8
* Add count/not tools as executables.Daniel Dunbar2009-09-24
| | | | | | - Apparently, I'm willing to do incredibly stupid things in the name of portability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82685 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove prcontext.Daniel Dunbar2009-09-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81427 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-mc/Mach-O: Dump relocations and section data (optionally) in my Mach-O ↵Daniel Dunbar2009-08-26
| | | | | | dumper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80087 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-mc: Fix tests for python variations in int printing, sigh.Daniel Dunbar2009-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80069 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Daniel Dunbar2009-08-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79738 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-mc: Hopefully fix Mach-O tests on big-endian platforms, force values to beDaniel Dunbar2009-08-22
| | | | | | converted to Python ints if possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79736 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-mc: Clean up some handling of symbol/section association to be more correctDaniel Dunbar2009-08-22
| | | | | | | | | (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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79733 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-mc: Start MCAssembler and MCMachOStreamer.Daniel Dunbar2009-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79612 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify shell syntax to work better on solaris, patch byChris Lattner2008-06-25
| | | | | | | Nathan Keynes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52721 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test script for counting lines. This can be used instead of theDan Gohman2007-08-10
| | | | | | | | | "| 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". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40988 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a script to run a command but ignore its return code. This scriptReid Spencer2007-04-14
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35991 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it handle plain old cast too, for old assembly.Reid Spencer2006-11-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31702 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle ptrtoint and inttoptrReid Spencer2006-11-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31701 91177308-0d34-0410-b5e6-96231b3b80d8
* Instruction name changes.Reid Spencer2006-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31663 91177308-0d34-0410-b5e6-96231b3b80d8
* Okay, need a pattern before and after the cast pattern.Reid Spencer2006-11-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31443 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the regular expression to be extended by a parameter.Reid Spencer2006-11-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31442 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950:Reid Spencer2006-11-04
| | | | | | | | A little script to return 1 if it encounters any of the cast instructions on the stdin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31441 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove last remnants of Python/QMTest supportReid Spencer2004-12-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18672 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrote prcontext.py in tcl.Tanya Lattner2004-11-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17708 91177308-0d34-0410-b5e6-96231b3b80d8
* New python script that print a specified number of lines surrounding aJohn Criswell2004-08-02
| | | | | | | | located pattern. In other words, grep -C for Solaris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15425 91177308-0d34-0410-b5e6-96231b3b80d8
* These transitional scripts are no longer necessary, no one should have `as' orMisha Brukman2003-09-16
| | | | | | | `dis' anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8563 91177308-0d34-0410-b5e6-96231b3b80d8
* Near-term fix for renaming `as' -> `llvm-as' and `dis' -> `llvm-dis'.Misha Brukman2003-08-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8194 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete scriptChris Lattner2003-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6967 91177308-0d34-0410-b5e6-96231b3b80d8
* New script for testrunner programsChris Lattner2003-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6956 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle quoting rightChris Lattner2003-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6954 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of grep-not scriptChris Lattner2003-06-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6951 91177308-0d34-0410-b5e6-96231b3b80d8
* Describe directoryChris Lattner2003-06-28
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6949 91177308-0d34-0410-b5e6-96231b3b80d8