Rafael Espindola
20ce0c0ce0
Pass -disable-cfi to llc.
...
llvm-svn: 130999
2011-05-06 18:01:58 +00:00
Rafael Espindola
a51ef94ec1
Pass --disable-cfi to llc.
...
llvm-svn: 130754
2011-05-03 15:56:16 +00:00
Devang Patel
75f5cd671b
Remove test to check line numbers. There are other numerous tests in our test harness to check line number information.
...
llvm-svn: 129725
2011-04-18 22:27:20 +00:00
Chris Lattner
e787786999
remove a small scattering of basically pointless tests. These are
...
all covered by llvm-test, which is what they were reduced from back
in 2003.
llvm-svn: 125189
2011-02-09 16:41:31 +00:00
Chris Lattner
7f4b42eee9
remove a broken test, this is matching nounwind on intrinsics, not the old unwind instruction
...
llvm-svn: 125188
2011-02-09 16:40:56 +00:00
Devang Patel
1c0eec5cfb
Remove stale test that has never worked, afaik.
...
llvm-svn: 124635
2011-02-01 00:47:16 +00:00
Duncan Sands
050d93cb5a
This test dates from the time when llvm-gcc had problems if two types were
...
named the same, so it had to qualify type names according to the enclosing
scope to ensure uniqueness. This is no longer needed for correctness (though
it may be helpful when reading the IR), so this test has lost its importance.
Zap it because dragonegg will never be able to produce the qualified type name
since modern gcc zaps language specific info (such as whether a type is nested
inside another - needed to get X::Y here) before dragonegg is reached.
llvm-svn: 120721
2010-12-02 18:19:23 +00:00
Duncan Sands
5fe97a0490
Remove explicit uses of -emit-llvm, the test infrastructure adds it
...
automatically. Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).
llvm-svn: 120160
2010-11-25 21:39:17 +00:00
Duncan Sands
0be0ae625d
Judging from the comment, the system assembler is supposed to assemble
...
the output of this test. Since it was producing bitcode, that clearly
wasn't happening! Have it produce target assembler and assemble that
instead.
llvm-svn: 120159
2010-11-25 21:26:21 +00:00
Devang Patel
95ae73c394
Generalize DISubprogram element to encode various flags instead of just one boolean for isArtificial.
...
This is a backword compatible change.
llvm-svn: 115084
2010-09-29 21:04:46 +00:00
Devang Patel
86ec8b3a3f
Reapply r112623. Included additional check for unused byval argument.
...
llvm-svn: 112659
2010-08-31 22:22:42 +00:00
Devang Patel
529f248eb4
Revert r112623. It is causing self host build failures.
...
llvm-svn: 112631
2010-08-31 19:41:03 +00:00
Devang Patel
8559932d36
Remember byval argument's frame index during argument lowering and use this info to emit debug info.
...
Fixes Radar 8367011.
llvm-svn: 112623
2010-08-31 18:50:09 +00:00
Devang Patel
bd32256e25
Update tests to not rely on input file's absolute path.
...
llvm-svn: 109521
2010-07-27 18:13:53 +00:00
Stuart Hastings
caf8e3a2db
Test case to insure template function declaration refers to correct filename. Radar 8063111.
...
llvm-svn: 109258
2010-07-23 20:15:49 +00:00
Dale Johannesen
d4e389441d
Testcase for 108732 (8195660).
...
llvm-svn: 108733
2010-07-19 18:22:40 +00:00
Stuart Hastings
c0efbd5b31
Less incorrect handling of zero-length bitfields. Radars 7992077
and 8093043.
...
llvm-svn: 106611
2010-06-23 00:31:14 +00:00
Bill Wendling
7e35d39fee
Corresponding test changes for r106564.
...
llvm-svn: 106569
2010-06-22 20:30:14 +00:00
Devang Patel
c8bceaa418
test case for r106438.
...
llvm-svn: 106439
2010-06-21 18:37:23 +00:00
Stuart Hastings
afe54f1625
Support for nested functions/classes in debug output. (Again.) Radar 7424645.
...
llvm-svn: 105828
2010-06-11 20:08:44 +00:00
Stuart Hastings
8612940357
Tweak test for debug/metadata change, update to FileCheck. Radar 7424645.
...
llvm-svn: 105559
2010-06-07 21:50:54 +00:00
Stuart Hastings
3ca391027f
Revert 105492 & 105493 due to a testcase regression. Radar 7424645.
...
llvm-svn: 105511
2010-06-05 00:39:29 +00:00
Stuart Hastings
7c015988fe
Support for nested functions/classes in debug output. Radar 7424645.
...
llvm-svn: 105492
2010-06-04 22:36:03 +00:00
Stuart Hastings
c1e216583f
Revert 104841, 104842, 104876 due to buildbot failures. Radar 7424645.
...
llvm-svn: 104953
2010-05-28 16:41:07 +00:00
Stuart Hastings
8e99e50d08
Support for nested functions/classes in debug output. Radar 7424645.
...
llvm-svn: 104841
2010-05-27 16:16:54 +00:00
Bill Wendling
de852faef9
Match "4" or "8" depending upon if it's 32- or 64-bit.
...
llvm-svn: 104196
2010-05-20 00:27:10 +00:00
Bill Wendling
1c4687e350
Testcase for r104181.
...
llvm-svn: 104182
2010-05-19 23:33:26 +00:00
Devang Patel
0bcbcbd23e
Test case for r103633.
...
llvm-svn: 103634
2010-05-12 18:31:04 +00:00
Dale Johannesen
352117adf5
Testcase for llvm 103572 (7898991).
...
llvm-svn: 103574
2010-05-12 05:04:20 +00:00
Devang Patel
fbc75d039a
Test case for 103414.
...
llvm-svn: 103415
2010-05-10 17:49:40 +00:00
Bill Wendling
06bf470104
Revert r102948.
...
llvm-svn: 102964
2010-05-03 21:51:21 +00:00
Bill Wendling
88c734e8ae
Testcase for r102947.
...
llvm-svn: 102948
2010-05-03 20:39:35 +00:00
Devang Patel
cde3576e0d
New test.
...
llvm-svn: 102746
2010-04-30 19:39:29 +00:00
Dan Gohman
6221b85680
Add -o /dev/null to some tests which don't care about their output.
...
llvm-svn: 102722
2010-04-30 17:42:30 +00:00
Stuart Hastings
4bd3dd956f
Reverting 100530 & 100531 due to regressions in the GDB test suite.
...
llvm-svn: 100563
2010-04-06 21:38:29 +00:00
Stuart Hastings
c067196984
Revise debug info machinery to digest nested functions and classes.
...
A certain GDB testsuite case (local.cc) has a function nested inside a
class nested inside another function. GCC presents the innermost
function to llvm-convert first. Heretofore, the debug info mistakenly
placed the inner function at module scope. This patch walks the GCC
context links and instantiates the outer class and function so the
debug info is properly nested. Radar 7426545.
llvm-svn: 100530
2010-04-06 17:19:32 +00:00
Stuart Hastings
2b9735138e
Test case for llvm-gcc r99305. Radar 7659636.
...
llvm-svn: 99306
2010-03-23 18:39:23 +00:00
Duncan Sands
e0fa09cb05
Chris pointed out that producing undef here is wrong in
...
general.
llvm-svn: 98649
2010-03-16 18:50:54 +00:00
Duncan Sands
57f1191b0d
Check that P is not zero initialized.
...
llvm-svn: 98627
2010-03-16 11:36:35 +00:00
Devang Patel
59445dbf78
Start using DIFile. See updated SourceLevelDebugging.html for more information.
...
This patch updates LLVMDebugVersion to 8.
Debug info descriptors encoded using LLVMDebugVersion 7 is supported.
Corresponding llvmgcc and clang FE commits are required.
llvm-svn: 98020
2010-03-09 00:44:10 +00:00
Devang Patel
441eb781ae
Ignore target dependent value in grep search.
...
llvm-svn: 96604
2010-02-18 19:52:12 +00:00
Devang Patel
4956ea0a51
New test case for r96543.
...
llvm-svn: 96544
2010-02-18 00:53:49 +00:00
Eric Christopher
624ee8da0d
Revert:
...
r95605 | dpatel | 2010-02-08 15:27:46 -0800 (Mon, 08 Feb 2010) | 2 lines
test case for r95604.
Which was the testcase for the patch reverted from llvm-gcc.
llvm-svn: 96474
2010-02-17 08:53:27 +00:00
Devang Patel
557e4248cb
test case for r95604.
...
llvm-svn: 95605
2010-02-08 23:27:46 +00:00
Dale Johannesen
0c426100d0
Debugging is now reenabled on PPC darwin, so reenable
...
these tests (they pass).
llvm-svn: 95263
2010-02-03 22:24:49 +00:00
Chris Lattner
de765a3f39
this test has been failing or a long time, just disable it for now to get
...
back to green.
llvm-svn: 94371
2010-01-24 19:13:39 +00:00
Dale Johannesen
14ee5ead2d
Testcase for llvm-gcc checkin 92108.
...
llvm-svn: 92110
2009-12-24 01:10:43 +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
Dan Gohman
abc77742c8
Fix this code to use DIScope instead of DICompileUnit, as in r90181.
...
Don't print "SrcLine"; just print the filename and line number, which
is obvious enough and more informative.
llvm-svn: 90631
2009-12-05 00:23:29 +00:00
Dan Gohman
6aea8dccf1
Remove now-redundant llvm-as invocations.
...
llvm-svn: 90626
2009-12-05 00:02:37 +00:00