summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Resubmit "Refactor debuginfo-tests"Zachary Turner2017-11-1622-16/+136
| | | | | | | | | | This was reverted due to some failures on specific darwin buildbots, the issue being that the new lit configuration was not setting the SDKROOT environment variable. We've tested a fix locally and confirmed that it works, so this patch resubmits everything with the fix applied. llvm-svn: 318435
* Revert "Update test_debuginfo.pl script to point to new tree location."Zachary Turner2017-11-1322-134/+16
| | | | | | | | This reverts the aforementioned patch and 2 subsequent follow-ups, as some buildbots are still failing 2 tests because of it. Investigation is ongoing into the cause of the failures. llvm-svn: 318112
* [debuginfo-tests] Make debuginfo-tests work in a standard configuration.Zachary Turner2017-11-1022-16/+134
| | | | | | | | | | | | | | | | | | | Previously, debuginfo-tests was expected to be checked out into clang/test and then the tests would automatically run as part of check-clang. This is not a standard workflow for handling external projects, and it brings with it some serious drawbacks such as the inability to depend on things other than clang, which we will need going forward. The goal of this patch is to migrate towards a more standard workflow. To ease the transition for build bot maintainers, this patch tries not to break the existing workflow, but instead simply deprecate it to give maintainers a chance to update the build infrastructure. Differential Revision: https://reviews.llvm.org/D39605 llvm-svn: 317925
* Revert r313600 due to bot failures on Green Dragon.Mike Edwards2017-09-191-0/+2
| | | | | | http://green.lab.llvm.org/green/job/clang-stage1-configure-RA_check/35585/ llvm-svn: 313634
* Drop -O1 case from nrvo-string.cppHans Wennborg2017-09-181-2/+0
| | | | | | It relied on r313400 which was reverted in r313589. llvm-svn: 313600
* [debuginfo-tests] Add string NRVO test for PR34513Reid Kleckner2017-09-151-0/+27
| | | | | | It should pass in -O0 and -O1 after r313400 and r313399. llvm-svn: 313401
* Restrict debuginfo-tests to native configurations.Paul Robinson2017-09-081-0/+3
| | | | llvm-svn: 312803
* Fix debuginfo-tests with GDB on LinuxReid Kleckner2017-08-315-32/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Split asan.c into asan.c and asan-blocks.c, which will be darwin-specific. I suspect we could make it pass on Linux by adding cmake to build BlocksRuntime from compiler-rt, but I'm not shaving that yak yet. asan.c and safestack.c: GDB and LLDB appear to print aggregates differently today. Print individual elements instead of the entire aggregate. dbg-arg.c: GDB doesn't appear to print leading zeros when printing pointers. stack-var.c: Add the optnone attribute so that LLVM won't optimize away this no-op function call. This should be a cross-platform failure observable on Mac, so this is surprising. Reviewers: aprantl, dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D37344 llvm-svn: 312265
* Add a test for PR33166.Adrian Prantl2017-05-251-0/+18
| | | | | | | This tests optimized code where a variable is allocated on the stack for some part of the function. llvm-svn: 303903
* Add additional CHECKs to safestack.c.Adrian Prantl2017-04-171-10/+20
| | | | llvm-svn: 300469
* Revert "Revert "Add a test for debug info with the safestack sanitizer ↵Adrian Prantl2017-04-171-0/+25
| | | | | | | | enabled."" This reapplies commit r299730 with an additional REQUIRES line. llvm-svn: 300468
* Revert "Revert "Add a test for __block variables + asan.""Adrian Prantl2017-04-172-9/+27
| | | | | | This reapplies commit r300228. llvm-svn: 300467
* Revert "Revert "Add an end-to-end testcase for address sanitizer.""Adrian Prantl2017-04-171-0/+26
| | | | | | This reapplies r299731 and adds an appropriate REQUIRES line. llvm-svn: 300466
* Revert "Add a test for debug info with the safestack sanitizer enabled."Ahmed Bougacha2017-04-171-21/+0
| | | | | | | | | This reverts commit r299730. It's causing failures on a bot because of missing compiler-rt: http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan_check llvm-svn: 300460
* Revert "Add an end-to-end testcase for address sanitizer."Ahmed Bougacha2017-04-171-23/+0
| | | | | | | | | This reverts commit r299731. It's causing failures on a bot because of missing compiler-rt: http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan_check llvm-svn: 300459
* Revert "Add a test for __block variables + asan."Ahmed Bougacha2017-04-172-28/+7
| | | | | | | | | This reverts commit r300228. It's causing failures on a bot because of missing compiler-rt: http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan_check llvm-svn: 300458
* Add a test for __block variables + asan.Adrian Prantl2017-04-132-7/+28
| | | | llvm-svn: 300228
* Add an end-to-end testcase for address sanitizer.Adrian Prantl2017-04-061-0/+23
| | | | llvm-svn: 299731
* Add a test for debug info with the safestack sanitizer enabled.Adrian Prantl2017-04-061-0/+21
| | | | llvm-svn: 299730
* Add DEBUGGER and CHECKs back to dbg-arg.cAdrian Prantl2017-04-061-1/+6
| | | | | | | | | | When this testcase was migrated from IR to source the DEBUGGER commands were not migrated together with the rest of the testcase. It was also compiling without debug info. Make the testcase slightly less useless by adding them back in :-) llvm-svn: 299673
* Add a testcase for variable-length arrays.Adrian Prantl2017-04-061-0/+24
| | | | | | | | VLAs are special-cased in the frontend. This testcase ensures that the contract between clang and llvm won't be accidentally broken by future refactorings. llvm-svn: 299668
* New round of fixes for "Always compile debuginfo-tests for the host triple"Filipe Cabecinhas2014-10-1811-20/+20
| | | | | | | | clang tests were breaking, at least when compiling clang only, from an installed llvm. Make the lit.cfg script deal with the case when we don't have a host_triple available. llvm-svn: 220152
* Always compile debuginfo-tests for the host tripleFilipe Cabecinhas2014-10-1611-20/+20
| | | | | | | | | | Since these tests expect a working debugger, always compile them for the host triple, assuming a working debugger is present. This enables us to compile and run them, even when clang is, by default, a cross-compiler (but can still target the host). llvm-svn: 219992
* cleanup comments and remove an obsolete workaroundAdrian Prantl2014-10-131-4/+2
| | | | llvm-svn: 219623
* Address review comments from Justin Bogner.Adrian Prantl2014-10-131-3/+3
| | | | | | | - raise without arguments is preserving the backtrace - move the call to terminate lldb to the exit handler llvm-svn: 219618
* Properly shutdown lldb by invoking SBDebugger_Terminate()Adrian Prantl2014-10-091-1/+3
| | | | | | rdar://problem/18577039 llvm-svn: 219451
* relax testcase for LLDB output format compatibility.Adrian Prantl2014-03-191-1/+1
| | | | llvm-svn: 204280
* Revert "xfail a test on darwin because some of the public buildbots are ↵Adrian Prantl2014-03-111-4/+0
| | | | | | | | stuck on" This reverts commit 203504. We decided that it is better to disable this test on a per-buildbot basis in zorg rather than everywhere on Darwin. llvm-svn: 203627
* xfail a test on darwin because some of the public buildbots are stuck onAdrian Prantl2014-03-101-0/+4
| | | | | | older versions of LLDB. llvm-svn: 203504
* Revert "Experimentally enable --verify-debug-info on some testcases and see if"Adrian Prantl2014-03-082-2/+2
| | | | | | | | | Some of the buildbots need to be upgraded to a more recen version of dwarfdump first. Reverting for now. llvm-svn: 203338
* Experimentally enable --verify-debug-info on some testcases and see ifAdrian Prantl2014-03-082-2/+2
| | | | | | the buildbots can take it. llvm-svn: 203327
* Add back the original version of the test, too. (as XFAILed on Darwin)Adrian Prantl2014-03-081-0/+39
| | | | llvm-svn: 203326
* Work around a bug in LLDB (it finds the wrong "C", rdar://problem/14933867)Adrian Prantl2014-03-081-12/+11
| | | | | | and enable this test on Darwin. llvm-svn: 203324
* Relax testcase: Newer versions of LLDB don't necessarily print the "{".Adrian Prantl2014-02-271-1/+1
| | | | llvm-svn: 202415
* Relax testcase: Newer versions of LLDB don't necessarily print the "{" either.Adrian Prantl2014-02-271-1/+1
| | | | llvm-svn: 202319
* Add a fallback path for buildbots temporarily stuck on really oldAdrian Prantl2014-02-211-4/+12
| | | | | | versions of LLDB. llvm-svn: 201828
* Relax testcases. LLDB starts counting at $0.Adrian Prantl2014-02-202-4/+4
| | | | llvm-svn: 201806
* don't use CHECK-NEXT because it may be on the same line.Adrian Prantl2013-09-181-1/+1
| | | | llvm-svn: 190969
* Massage those regexps to work with both lldb and gdb.Adrian Prantl2013-09-182-4/+3
| | | | llvm-svn: 190967
* Auto-detect the architecture of the executable instead of using the arch ofAdrian Prantl2013-09-071-1/+1
| | | | | | the kernel. llvm-svn: 190256
* Set the architecture when creating a target.Adrian Prantl2013-09-071-1/+2
| | | | llvm-svn: 190252
* Use a more backwards-compatible method for evaluating expressions and addAdrian Prantl2013-09-062-7/+14
| | | | | | more explanatory error messages. llvm-svn: 190215
* Add an lldb wrapper script that implements gdb-compatible commands on topAdrian Prantl2013-09-064-7/+145
| | | | | | | | | | | 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
* fix typosAdrian Prantl2013-09-061-10/+10
| | | | llvm-svn: 190184
* Only fail this on darwin since most other platforms should have a newerEric Christopher2013-09-041-1/+1
| | | | | | gdb. llvm-svn: 189920
* XFAILed the static-member.cpp test since we no longer support emitting debug ↵Michael Gottesman2013-09-041-0/+1
| | | | | | info that support what Eric calls "the member hack". llvm-svn: 189915
* Now that we get non-trivial value parameters locations correct, un-XFAIL ↵David Blaikie2013-06-192-7/+3
| | | | | | these tests. llvm-svn: 184372
* We've got the type right, which has broken these tests - but now we need to ↵David Blaikie2013-06-072-0/+4
| | | | | | get the location information correct that the type was papering over llvm-svn: 183576
* Remove IR scenario tests.David Blaikie2013-03-155-829/+0
| | | | | | | | | 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
* Migrate dbg-arg.ll to a C file test to be resilient to IR changes.David Blaikie2013-03-132-126/+41
| | | | llvm-svn: 176964
OpenPOWER on IntegriCloud