aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLVMC
Commit message (Collapse)AuthorAgeFilesLines
* Revert r96130 ("Forward parameter options as '-option=param'").Mikhail Glushenkov2010-02-151-1/+1
| | | | | | This behaviour must be configurable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96210 91177308-0d34-0410-b5e6-96231b3b80d8
* Forward parameter options as '-option=parameter'.Mikhail Glushenkov2010-02-131-1/+1
| | | | | | | Some tools do not like the '-option parameter' form. Should this be configurable? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96130 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-disable for Darwin; I was mistaken to think this was fixed.Dale Johannesen2010-02-091-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95688 91177308-0d34-0410-b5e6-96231b3b80d8
* This test passes now on ppc darwin, so reenable it.Dale Johannesen2010-02-031-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95264 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL for PPC Darwin.Bill Wendling2010-02-021-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95121 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert commit 94666 (ddunbar) [Suppress clang warning about unused arguments].Duncan Sands2010-01-2717-17/+17
| | | | | | | It causes g++ to complain: unrecognized option '-Qunused-arguments' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94670 91177308-0d34-0410-b5e6-96231b3b80d8
* Suppress clang warning about unused arguments.Daniel Dunbar2010-01-2717-17/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94666 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove an XFAIL.Daniel Dunbar2009-12-231-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92036 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow (set_option SwitchOption, true).Mikhail Glushenkov2009-12-231-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91997 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL these tests on powerpc, under the assumption that no one cares. If you ↵Daniel Dunbar2009-12-211-0/+1
| | | | | | care, feel free to fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91826 91177308-0d34-0410-b5e6-96231b3b80d8
* Make 'set_option' work with list options.Mikhail Glushenkov2009-12-181-1/+6
| | | | | | This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"]) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91679 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a 'set_option' action for use in OptionPreprocessor.Mikhail Glushenkov2009-12-171-5/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91594 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert llvmc tests to FileCheck.Mikhail Glushenkov2009-12-1513-24/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91420 91177308-0d34-0410-b5e6-96231b3b80d8
* Support hook invocation from 'append_cmd'.Mikhail Glushenkov2009-12-152-0/+52
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91419 91177308-0d34-0410-b5e6-96231b3b80d8
* Validate the generated C++ code in llvmc tests.Mikhail Glushenkov2009-12-1516-9/+25
| | | | | | | | | | Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91404 91177308-0d34-0410-b5e6-96231b3b80d8
* Pipe 'grep' output to 'count'.Mikhail Glushenkov2009-12-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow $CALL(Hook, '$INFILE') for non-join tools.Mikhail Glushenkov2009-12-151-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91402 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test for the 'init' option property.Mikhail Glushenkov2009-12-141-0/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91259 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement 'forward_value' and 'forward_transformed_value'.Mikhail Glushenkov2009-12-072-0/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90770 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup some unused RUN lines.Daniel Dunbar2009-11-083-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86450 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test for OptionPreprocessor.Mikhail Glushenkov2009-10-251-0/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85029 91177308-0d34-0410-b5e6-96231b3b80d8
* Disallow multiple instances of PluginPriority.Mikhail Glushenkov2009-10-171-0/+10
| | | | | | | Several instances of PluginPriority in a single file most probably signifies a programming error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84350 91177308-0d34-0410-b5e6-96231b3b80d8
* Input files should go before all other options.Mikhail Glushenkov2009-10-085-5/+5
| | | | | | Important, for example, when calling 'gcc a.o b.o c.o -lD -lE -lF'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83524 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a small issue with recent changes to this code.Mikhail Glushenkov2009-09-132-12/+7
| | | | | | The 'false.c' file wasn't being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81709 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Use %abs_tmp instead of ./%t to make these tests portable to 'lit'.Daniel Dunbar2009-09-139-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81663 91177308-0d34-0410-b5e6-96231b3b80d8
* Sink llvm-gcc dependent tests into distinct subdirs.Daniel Dunbar2009-09-1317-21/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81661 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite tests to not use Tcl substitution.Daniel Dunbar2009-09-1311-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81660 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify LLVMC tests.Daniel Dunbar2009-09-133-10/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81659 91177308-0d34-0410-b5e6-96231b3b80d8
* The 'forward_as' property did not use its second argument.Mikhail Glushenkov2009-05-061-0/+18
| | | | | | See PR4159 for details. Patch by Martin Nowack! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71054 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix incorrect code generation with ENV.Mikhail Glushenkov2009-05-051-0/+16
| | | | | | See PR4157 for details. Patch by Martin Nowack! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70973 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment.Mikhail Glushenkov2009-03-061-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66278 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo that prevents hello.mm from running (and runs hello.m twice).Julien Lerouge2009-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65493 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename dg.exp to llvmc.exp. This is so I can ignore it during a make check ↵Bill Wendling2009-02-081-0/+0
| | | | | | if I want to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64103 91177308-0d34-0410-b5e6-96231b3b80d8
* The 'false.c' test must depend on llvm-g++.Mikhail Glushenkov2009-02-082-11/+26
| | | | | | | Also, turn on Objective-C/C++ tests. This should fix http://llvm.org/bugs/show_bug.cgi?id=3499. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64084 91177308-0d34-0410-b5e6-96231b3b80d8
* Add three new option properties.Mikhail Glushenkov2009-01-283-1/+45
| | | | | | Adds new option properties 'multi_val', 'one_or_more' and 'zero_or_one'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63172 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow hooks with arguments.Mikhail Glushenkov2009-01-211-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62685 91177308-0d34-0410-b5e6-96231b3b80d8
* Use ignore & grep instead of XFAIL.Mikhail Glushenkov2008-12-211-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61307 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove Clang tests since clang is not installed on the buildbots.Mikhail Glushenkov2008-12-093-27/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60767 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some rudimentary tests for .Mikhail Glushenkov2008-12-093-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60766 91177308-0d34-0410-b5e6-96231b3b80d8
* Make 'extern' an option property.Mikhail Glushenkov2008-12-071-3/+4
| | | | | | Makes (forward) work better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60667 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some clarifying comments.Mikhail Glushenkov2008-12-071-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60662 91177308-0d34-0410-b5e6-96231b3b80d8
* Add tests for tblgen's LLVMC backend.Mikhail Glushenkov2008-12-077-0/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60657 91177308-0d34-0410-b5e6-96231b3b80d8
* Since the old llvmc was removed, rename llvmc2 to llvmc.Mikhail Glushenkov2008-11-2511-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60048 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVMC2: -emit-llvm stops compilation.Daniel Dunbar2008-11-191-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59586 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVMC2: Teach llvm_gcc_c tool about -include and -fsyntax-only.Daniel Dunbar2008-11-191-0/+9
| | | | | | | | - Only focusing on llvm_gcc_c for now, eventually this needs to be refactored so it can be shared via all the gcc-like tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59582 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LLVMC2 tool definitions for Objective-C and Objective-C++.Daniel Dunbar2008-11-082-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58885 91177308-0d34-0410-b5e6-96231b3b80d8
* Renaming LLVMC/dg.exp to LLVM/llvmc.expBill Wendling2008-08-141-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54809 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the -opt switch and add a test case for it.Mikhail Glushenkov2008-05-301-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51784 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix: 'sink' handling was broken.Mikhail Glushenkov2008-05-301-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51750 91177308-0d34-0410-b5e6-96231b3b80d8
* Check if llvm-gcc is available before running tests. Patch by Matthijs Kooijman!Tanya Lattner2008-05-141-1/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51108 91177308-0d34-0410-b5e6-96231b3b80d8