Jeffrey Yasskin
c91f200c17
XFAIL tests from LLVMC on valgrind or valgrind+leak-checking. We
...
don't care about leaks from tblgen, and I assume we don't care about
valgrind errors in llvm-gcc/g++.
llvm-svn: 99115
2010-03-21 08:12:46 +00:00
Jeffrey Yasskin
fbd0109ca4
Remove `ignore` from LLVMC/TestWarnings.td. This avoids
...
https://bugs.kde.org/show_bug.cgi?id=231257 and seems not to have been
needed in the first place.
llvm-svn: 98917
2010-03-19 01:10:41 +00:00
Mikhail Glushenkov
d76f096a53
Update the test suite.
...
llvm-svn: 96921
2010-02-23 09:04:51 +00:00
Daniel Dunbar
f16bc6d296
LLVMC/MultiplePluginPriorities.td: Generally XFAIL this test for now, it is
...
still failing during (one) llvm-gcc powerpc build, and is also failing on my
x86_64-apple-darwin10.
llvm-svn: 96781
2010-02-22 05:55:32 +00:00
Mikhail Glushenkov
5352f07f2c
Revert r96130 ("Forward parameter options as '-option=param'").
...
This behaviour must be configurable.
llvm-svn: 96210
2010-02-15 03:17:06 +00:00
Mikhail Glushenkov
32fa169648
Forward parameter options as '-option=parameter'.
...
Some tools do not like the '-option parameter' form. Should this be
configurable?
llvm-svn: 96130
2010-02-13 22:37:28 +00:00
Dale Johannesen
8d3aa40bae
Re-disable for Darwin; I was mistaken to think this was fixed.
...
llvm-svn: 95688
2010-02-09 19:54:29 +00:00
Dale Johannesen
c5df1559ca
This test passes now on ppc darwin, so reenable it.
...
llvm-svn: 95264
2010-02-03 22:29:02 +00:00
Bill Wendling
ed0278c37f
XFAIL for PPC Darwin.
...
llvm-svn: 95121
2010-02-02 20:56:02 +00:00
Duncan Sands
1a0203e057
Revert commit 94666 (ddunbar) [Suppress clang warning about unused arguments].
...
It causes g++ to complain: unrecognized option '-Qunused-arguments'
llvm-svn: 94670
2010-01-27 10:08:08 +00:00
Daniel Dunbar
f99134f470
Suppress clang warning about unused arguments.
...
llvm-svn: 94666
2010-01-27 07:10:10 +00:00
Daniel Dunbar
ccf79584f9
Remove an XFAIL.
...
llvm-svn: 92036
2009-12-23 20:13:44 +00:00
Mikhail Glushenkov
f48a0c43b6
Allow (set_option SwitchOption, true).
...
llvm-svn: 91997
2009-12-23 12:49:30 +00:00
Daniel Dunbar
0fc1f6c595
XFAIL these tests on powerpc, under the assumption that no one cares. If you care, feel free to fix.
...
llvm-svn: 91826
2009-12-21 17:31:59 +00:00
Mikhail Glushenkov
d7015906d0
Make 'set_option' work with list options.
...
This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"])
llvm-svn: 91679
2009-12-18 11:27:26 +00:00
Mikhail Glushenkov
1fe2678a06
Add a 'set_option' action for use in OptionPreprocessor.
...
llvm-svn: 91594
2009-12-17 07:49:16 +00:00
Mikhail Glushenkov
66a664870b
Convert llvmc tests to FileCheck.
...
llvm-svn: 91420
2009-12-15 07:21:14 +00:00
Mikhail Glushenkov
62b65ecf18
Support hook invocation from 'append_cmd'.
...
llvm-svn: 91419
2009-12-15 07:20:50 +00:00
Mikhail Glushenkov
096fc103fb
Validate the generated C++ code in llvmc tests.
...
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
llvm-svn: 91404
2009-12-15 03:04:52 +00:00
Mikhail Glushenkov
cb0721e363
Pipe 'grep' output to 'count'.
...
llvm-svn: 91403
2009-12-15 03:04:14 +00:00
Mikhail Glushenkov
2cb65bd5ab
Allow $CALL(Hook, '$INFILE') for non-join tools.
...
llvm-svn: 91402
2009-12-15 03:04:02 +00:00
Mikhail Glushenkov
897889ef6b
Add a test for the 'init' option property.
...
llvm-svn: 91259
2009-12-14 04:06:38 +00:00
Mikhail Glushenkov
6b6be99632
Implement 'forward_value' and 'forward_transformed_value'.
...
llvm-svn: 90770
2009-12-07 17:03:05 +00:00
Daniel Dunbar
bf7afbaaaf
Cleanup some unused RUN lines.
...
llvm-svn: 86450
2009-11-08 09:07:42 +00:00
Mikhail Glushenkov
9b291a0862
Add a test for OptionPreprocessor.
...
llvm-svn: 85029
2009-10-25 01:43:50 +00:00
Mikhail Glushenkov
b2eba4904f
Disallow multiple instances of PluginPriority.
...
Several instances of PluginPriority in a single file most probably signifies a
programming error.
llvm-svn: 84350
2009-10-17 20:08:30 +00:00
Mikhail Glushenkov
182765004e
Input files should go before all other options.
...
Important, for example, when calling 'gcc a.o b.o c.o -lD -lE -lF'.
llvm-svn: 83524
2009-10-08 04:40:08 +00:00
Mikhail Glushenkov
20ef60e1ab
Fix a small issue with recent changes to this code.
...
The 'false.c' file wasn't being used.
llvm-svn: 81709
2009-09-13 20:14:57 +00:00
Daniel Dunbar
f8f547ab6d
tests: Use %abs_tmp instead of ./%t to make these tests portable to 'lit'.
...
llvm-svn: 81663
2009-09-13 01:40:48 +00:00
Daniel Dunbar
1b71307d97
Sink llvm-gcc dependent tests into distinct subdirs.
...
llvm-svn: 81661
2009-09-13 01:39:08 +00:00
Daniel Dunbar
5be66ee27e
Rewrite tests to not use Tcl substitution.
...
llvm-svn: 81660
2009-09-13 01:37:07 +00:00
Daniel Dunbar
fa8c00a13c
Simplify LLVMC tests.
...
llvm-svn: 81659
2009-09-13 01:36:19 +00:00
Mikhail Glushenkov
6da4749ce6
The 'forward_as' property did not use its second argument.
...
See PR4159 for details. Patch by Martin Nowack!
llvm-svn: 71054
2009-05-06 01:41:19 +00:00
Mikhail Glushenkov
d953cd9401
Fix incorrect code generation with ENV.
...
See PR4157 for details. Patch by Martin Nowack!
llvm-svn: 70973
2009-05-05 12:34:34 +00:00
Mikhail Glushenkov
211f3c0f97
Add a comment.
...
llvm-svn: 66278
2009-03-06 17:59:58 +00:00
Julien Lerouge
8b08bf9eca
Fix a typo that prevents hello.mm from running (and runs hello.m twice).
...
llvm-svn: 65493
2009-02-26 00:16:33 +00:00
Bill Wendling
c743d39585
Rename dg.exp to llvmc.exp. This is so I can ignore it during a make check if I want to.
...
llvm-svn: 64103
2009-02-08 22:52:50 +00:00
Mikhail Glushenkov
cc4c8e848a
The 'false.c' test must depend on llvm-g++.
...
Also, turn on Objective-C/C++ tests.
This should fix http://llvm.org/bugs/show_bug.cgi?id=3499 .
llvm-svn: 64084
2009-02-08 11:44:37 +00:00
Mikhail Glushenkov
2115d09a10
Add three new option properties.
...
Adds new option properties 'multi_val', 'one_or_more' and 'zero_or_one'.
llvm-svn: 63172
2009-01-28 03:47:20 +00:00
Mikhail Glushenkov
bf9716e15d
Allow hooks with arguments.
...
llvm-svn: 62685
2009-01-21 13:04:00 +00:00
Mikhail Glushenkov
2fe093f2b8
Use ignore & grep instead of XFAIL.
...
llvm-svn: 61307
2008-12-21 07:47:49 +00:00
Mikhail Glushenkov
e001666100
Remove Clang tests since clang is not installed on the buildbots.
...
llvm-svn: 60767
2008-12-09 15:11:45 +00:00
Mikhail Glushenkov
5752117a5b
Add some rudimentary tests for .
...
llvm-svn: 60766
2008-12-09 14:41:27 +00:00
Mikhail Glushenkov
7f1bef5a55
Make 'extern' an option property.
...
Makes (forward) work better.
llvm-svn: 60667
2008-12-07 16:47:12 +00:00
Mikhail Glushenkov
203cad7326
Add some clarifying comments.
...
llvm-svn: 60662
2008-12-07 16:44:15 +00:00
Mikhail Glushenkov
7429d925f0
Add tests for tblgen's LLVMC backend.
...
llvm-svn: 60657
2008-12-07 16:41:50 +00:00
Mikhail Glushenkov
98d5ed5cb7
Since the old llvmc was removed, rename llvmc2 to llvmc.
...
llvm-svn: 60048
2008-11-25 21:38:12 +00:00
Daniel Dunbar
45535f3f22
LLVMC2: -emit-llvm stops compilation.
...
llvm-svn: 59586
2008-11-19 04:15:56 +00:00
Daniel Dunbar
2dd5aa4f11
LLVMC2: Teach llvm_gcc_c tool about -include and -fsyntax-only.
...
- 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.
llvm-svn: 59582
2008-11-19 02:59:00 +00:00
Daniel Dunbar
06ad209fb1
Add LLVMC2 tool definitions for Objective-C and Objective-C++.
...
llvm-svn: 58885
2008-11-08 03:25:47 +00:00