summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/use-after-scope-loop-bug.cc
Commit message (Collapse)AuthorAgeFilesLines
* [asan] Add more dynamic CRT mode testsReid Kleckner2016-11-021-1/+1
| | | | | | | | | | | | Only tests using %clang_cl_asan were using the dynamic CRT before this. The unit tests and lit tests using %clangxx_asan were using the static CRT. Many cross-platform tests fail with the dynamic CRT, so I had to add win32-(static|dynamic)-asan lit features. Also deletes some redundant tests in TestCases/Windows that started failing with this switch. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@285821 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] Enable the rest of use-after-scope testsVitaly Buka2016-07-281-3/+4
| | | | | | | | | | | | | | | | Summary: Test where broken because of missing lifetime markers for temps and because of aggressive optimization which removed markers in some cases. PR27453 Reviewers: eugenis, kcc Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D22894 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@277074 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scopeVitaly Buka2016-07-141-1/+1
| | | | | | | | | | | | | | Summary: When test was added we had no -fsanitize-address-use-after-scope in clang so we had to use -mllvm -asan-use-after-scope=1. Reviewers: eugenis Subscribers: kubabrecka Differential Revision: https://reviews.llvm.org/D22382 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275475 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable stack-use-after-scope tests.Evgeniy Stepanov2016-04-221-0/+16
Fix and enable working stack-use-after-scope tests. Add more failing tests for the feature, for fix later. PR27453. Patch by Vitaly Buka. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@267084 91177308-0d34-0410-b5e6-96231b3b80d8