aboutsummaryrefslogtreecommitdiff
path: root/debuginfo-tests/asan.c
AgeCommit message (Collapse)AuthorFilesLines
2017-12-07Revert "Temporarily pin tests to DWARF v2 until a more recent version of LLDB"Adrian Prantl1-1/+1
This reverts commit 319790. We worked around the bug in LLVM instead. llvm-svn: 320076
2017-12-05Temporarily pin tests to DWARF v2 until a more recent version of LLDBAdrian Prantl1-1/+1
is available on green dragon. llvm-svn: 319790
2017-11-21Re-revert "Refactor debuginfo-tests."Zachary Turner1-0/+31
This is still breaking greendragon. At this point I give up until someone can fix the greendragon bots, and I will probably abandon this effort in favor of using a private github repository. llvm-svn: 318722
2017-11-20Resubmit "Refactor debuginfo-tests" again.Zachary Turner1-31/+0
This was reverted due to the tests being run twice on some build bots. Each run had a slightly different configuration due to the way in which it was being invoked. This fixes the problem (albeit in a somewhat hacky way). Hopefully in the future we can get rid of the workflow of running debuginfo-tests as part of clang, and then this hack can go away. llvm-svn: 318697
2017-11-17Re-revert "Refactor debuginfo-tests"Zachary Turner1-0/+31
This is still broken because it causes certain tests to be run twice with slightly different configurations, which is wrong in some cases. You can observe this by running: ninja -nv check-all | grep debuginfo-tests And seeing that it passes clang/test and clang/test/debuginfo-tests to lit, which causes it to run debuginfo-tests twice. The fix is going to involve either: a) figuring out that we're running in this "deprecated" configuration, and then deleting the clang/test/debuginfo-tests path, which should cause it to behave identically to before, or: b) make lit smart enough that it doesn't descend into a sub-suite if that sub-suite already has a lit.cfg file. llvm-svn: 318486
2017-11-16Resubmit "Refactor debuginfo-tests"Zachary Turner1-31/+0
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
2017-11-13Revert "Update test_debuginfo.pl script to point to new tree location."Zachary Turner1-0/+31
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
2017-11-10[debuginfo-tests] Make debuginfo-tests work in a standard configuration.Zachary Turner1-31/+0
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
2017-08-31Fix debuginfo-tests with GDB on LinuxReid Kleckner1-23/+14
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
2017-04-17Revert "Revert "Add a test for __block variables + asan.""Adrian Prantl1-9/+23
This reapplies commit r300228. llvm-svn: 300467
2017-04-17Revert "Revert "Add an end-to-end testcase for address sanitizer.""Adrian Prantl1-0/+26
This reapplies r299731 and adds an appropriate REQUIRES line. llvm-svn: 300466
2017-04-17Revert "Add an end-to-end testcase for address sanitizer."Ahmed Bougacha1-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
2017-04-17Revert "Add a test for __block variables + asan."Ahmed Bougacha1-24/+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
2017-04-13Add a test for __block variables + asan.Adrian Prantl1-7/+24
llvm-svn: 300228
2017-04-06Add an end-to-end testcase for address sanitizer.Adrian Prantl1-0/+23
llvm-svn: 299731