Commit Graph

42 Commits

Author SHA1 Message Date
Adrian Prantl d913c86b93 don't use CHECK-NEXT because it may be on the same line.
llvm-svn: 190969
2013-09-18 23:01:54 +00:00
Adrian Prantl 7f6f3bb86b Massage those regexps to work with both lldb and gdb.
llvm-svn: 190967
2013-09-18 22:56:35 +00:00
Adrian Prantl ee30f63cc1 Auto-detect the architecture of the executable instead of using the arch of
the kernel.

llvm-svn: 190256
2013-09-07 20:04:29 +00:00
Adrian Prantl 002c2a8ece Set the architecture when creating a target.
llvm-svn: 190252
2013-09-07 17:14:37 +00:00
Adrian Prantl 5ef1c861dd Use a more backwards-compatible method for evaluating expressions and add
more explanatory error messages.

llvm-svn: 190215
2013-09-06 22:33:52 +00:00
Adrian Prantl 888e023e0d Add an lldb wrapper script that implements gdb-compatible commands on top
of lldb. This will be the new default method for executing the tests in
this repository on Darwin.
There is also a related patch for llvm/utils/test_debuginfo.pl coming.

I also relaxed some of the checks to work with both gdb's and lldb's
output.

llvm-svn: 190185
2013-09-06 18:10:44 +00:00
Adrian Prantl f88c554b10 fix typos
llvm-svn: 190184
2013-09-06 18:10:42 +00:00
Eric Christopher 8b6f708cda Only fail this on darwin since most other platforms should have a newer
gdb.

llvm-svn: 189920
2013-09-04 05:06:10 +00:00
Michael Gottesman 9672fcf1e5 XFAILed the static-member.cpp test since we no longer support emitting debug info that support what Eric calls "the member hack".
llvm-svn: 189915
2013-09-04 04:44:05 +00:00
David Blaikie 86feadcc76 Now that we get non-trivial value parameters locations correct, un-XFAIL these tests.
llvm-svn: 184372
2013-06-19 22:07:11 +00:00
David Blaikie fbbb8f32b0 We've got the type right, which has broken these tests - but now we need to get the location information correct that the type was papering over
llvm-svn: 183576
2013-06-07 22:09:23 +00:00
David Blaikie 7e138ff572 Remove IR scenario tests.
These are a burden to maintain & use hand crafted IR to test particular DWARF
generation cases in LLVM. If someone thinks there's high value coverage here
they can rephrase these as IR+dwarfdump tests in the LLVM regression suite so
they'll be portable/easily executed by all developers.

llvm-svn: 177182
2013-03-15 20:52:10 +00:00
David Blaikie cebc623798 Migrate dbg-arg.ll to a C file test to be resilient to IR changes.
llvm-svn: 176964
2013-03-13 18:46:28 +00:00
Eric Christopher 5724ee9765 Harden this test a bit to work on the mac with ancient gdbs.
llvm-svn: 172752
2013-01-17 20:09:50 +00:00
Eric Christopher 2ccf3a291d Add a test for static member debug information.
Part of PR14471.

Patch by Paul Robinson.

llvm-svn: 172589
2013-01-16 01:22:09 +00:00
Argyrios Kyrtzidis 8f68817738 XTARGET was removed, update debug-info tests.
llvm-svn: 166362
2012-10-20 01:38:50 +00:00
Eric Christopher 118c1961ae Fix this for gdb 7.4.
Patch by Andy Gibbs.

llvm-svn: 160639
2012-07-23 19:41:58 +00:00
Eric Christopher cc389be552 Fix this for buggy gdb behavior alongside the change
to clang that omits debug information for non-user-defined
methods.

llvm-svn: 158008
2012-06-05 18:16:03 +00:00
Eric Christopher e6a602dfab Revert previous patch as the corresponding clang patch was reverted.
gdb's tests are too dependent upon order in debug info.

llvm-svn: 149050
2012-01-26 07:01:33 +00:00
Eric Christopher 7b878febf1 Reverse the order that these are expected for clang change. Should
be no functional change (the offsets in AT_data_member_location are still
correct). If the gdb testsuite itself needs changing then I'll revert this
and the clang patch.

llvm-svn: 149026
2012-01-26 02:33:53 +00:00
Devang Patel ce04aa5a2c Testcase for r133065
llvm-svn: 133066
2011-06-15 17:57:23 +00:00
Devang Patel 2d1d1f4942 New test case for r132949.
llvm-svn: 132950
2011-06-13 23:16:05 +00:00
Devang Patel 30a67a14e5 Remove working directory path from intermediate files. They are not checked in the output anyway.
llvm-svn: 132375
2011-05-31 23:57:48 +00:00
Eli Friedman 8f630d9ffc Fix tests broken by r132257.
llvm-svn: 132277
2011-05-29 03:51:55 +00:00
Renato Golin 161505f480 adding XFAIL and XTARGET to those that require Darwin host
llvm-svn: 132257
2011-05-28 14:03:16 +00:00
Douglas Gregor 097984480d Clang is now correctly marking this as a class, so update the test case accordingly
llvm-svn: 131797
2011-05-21 18:17:06 +00:00
Devang Patel cef3760460 Test case for r131441.
llvm-svn: 131442
2011-05-17 00:20:50 +00:00
Devang Patel 539cde8bce Test case for r131422.
llvm-svn: 131423
2011-05-16 21:25:49 +00:00
Devang Patel 4a14cd9cf9 Test case for r130373.
llvm-svn: 130374
2011-04-28 02:23:17 +00:00
Devang Patel 443e46f16d Silence return-type warning.
llvm-svn: 130349
2011-04-28 00:02:06 +00:00
Devang Patel 90955228bb These tests are x86_64 specific.
llvm-svn: 128421
2011-03-28 20:00:34 +00:00
Devang Patel 2b54299705 Test case for r128150.
llvm-svn: 128151
2011-03-23 16:30:03 +00:00
Devang Patel d9bc8e0817 test case for r125249.
llvm-svn: 125250
2011-02-10 00:41:14 +00:00
Devang Patel d3a7ee6bfc Test case for r125142.
llvm-svn: 125144
2011-02-09 00:37:52 +00:00
Devang Patel 00c84fd125 Test case for r123199.
llvm-svn: 123200
2011-01-11 00:31:01 +00:00
Devang Patel 13bcf4d131 Zap white spaces, test commit email.
llvm-svn: 118690
2010-11-10 18:11:11 +00:00
Devang Patel c8effb80cb testcase commit for upcoming fix.
llvm-svn: 114476
2010-09-21 20:51:54 +00:00
Devang Patel 5fd13063a4 test case for r113843.
llvm-svn: 113844
2010-09-14 20:29:59 +00:00
Devang Patel 59c97b50ae Import debug info tests.
llvm-svn: 113804
2010-09-13 22:47:46 +00:00
Devang Patel 056959a6c0 remove these tests
llvm-svn: 113803
2010-09-13 22:44:41 +00:00
Devang Patel 64e5efb650 add more tests.
llvm-svn: 113801
2010-09-13 22:36:20 +00:00
Devang Patel bf3b62d356 Add README.txt and very first test case.
llvm-svn: 113797
2010-09-13 22:25:34 +00:00