summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/Windows/coverage-basic.cc
Commit message (Collapse)AuthorAgeFilesLines
* compiler-rt: Rename cc files below test/asan to cppNico Weber2019-08-051-25/+0
| | | | | | See r367803 and similar other changes. llvm-svn: 367887
* [compiler-rt] Get rid of "%T" expansionsFilipe Cabecinhas2018-07-101-2/+2
| | | | | | | | | | | | | | | | | | | Summary: Original patch by Kuba Mracek The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and unintuitive, and more importantly, it's been a source of subtle race conditions and flaky tests. In https://reviews.llvm.org/D35396, it was agreed that it would be best to simply ban %T and only keep %t, which is unique to each test. When a test needs a temporary directory, it can just create one using mkdir %t. This patch removes %T in compiler-rt. Differential Revision: https://reviews.llvm.org/D48618 llvm-svn: 336661
* Revert my bad winasan coverage test fix and apply one that actually worksReid Kleckner2017-05-031-1/+1
| | | | | | trace-pc doesn't work, but trace-pc-guard does. *shrug* llvm-svn: 302045
* Speculative fix for WinASan after r301994Reid Kleckner2017-05-031-1/+1
| | | | llvm-svn: 302043
* Fix coverage-related asan tests for VS 2015Reid Kleckner2016-03-221-2/+2
| | | | | | | | printf is an inline function in VS 2015, giving these tests an unexpected extra point of coverage. This change works around that by avoiding printf. llvm-svn: 264010
* [ASan] More ASAN_OPTIONS churn: use %env_asan_opts where applicable.Alexey Samsonov2015-08-251-1/+1
| | | | | | | | | | Reviewers: filcab, rnk, kubabrecka Subscribers: tberghammer, danalbert, srhines, llvm-commits Differential Revision: http://reviews.llvm.org/D12305 llvm-svn: 245962
* Revert "[ASan tests] Try to fix Windows buildbots due to r239754"Filipe Cabecinhas2015-06-151-1/+1
| | | | | | This reverts commit r239764 and the TestCases/Windows part of r239754. llvm-svn: 239768
* [ASan tests] Try to fix Windows buildbots due to r239754Filipe Cabecinhas2015-06-151-1/+1
| | | | llvm-svn: 239764
* [ASan] Test churn for setting ASAN_OPTIONS=symbolize_vs_style=falseFilipe Cabecinhas2015-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This commit adds symbolize_vs_style=false to every instance of ASAN_OPTIONS in the asan tests and sets ASAN_OPTIONS=symbolize_vs_style=false in lit, for tests which don't set it. This way we don't need to make the tests be able to deal with both symbolize styles. This is the first patch in the series. I will eventually submit for the other sanitizers too. We need this change (or another way to deal with the different outputs) in order to be able to default to symbolize_vs_style=true on some platforms. Adding to this change, I'm also adding "env " before any command line which sets environment variables. That way the test works on other host shells, like we have if the host is running Windows. Reviewers: samsonov, kcc, rnk Subscribers: tberghammer, llvm-commits Differential Revision: http://reviews.llvm.org/D10294 llvm-svn: 239754
* [SanitizerCoverage] Upgrade lit tests to new -fsanitize-coverage= flags.Alexey Samsonov2015-05-071-1/+1
| | | | llvm-svn: 236796
* Fix Windows coverage test with lit shellReid Kleckner2015-05-041-1/+1
| | | | llvm-svn: 236446
* [ASan/Win] Add a test that makes sure coverage works at least in the simple ↵Timur Iskhodzhanov2015-04-091-0/+25
cases llvm-svn: 234496
OpenPOWER on IntegriCloud