summaryrefslogtreecommitdiff
path: root/test/asan/lit.cfg
AgeCommit message (Collapse)Author
2014-12-11Fix check-asan on Windows by putting lib/clang/... onto PATH (PR21880)Timur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224018 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-26[asan] Disable preload tests on Android.Evgeniy Stepanov
They don't test what they claim to because LD_PRELOAD applies to "not" instead of the actual test binary. And all Android tests run with LD_PRELOAD anyway. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222835 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-25[ASan] Fix leak tests on 64-bit targets other than x86-64 (take two)Jay Foad
Summary: First, remove lit configuration that sets ASAN_OPTIONS to detect_leaks=1 because this is already the default when leak detection is supported. This removes a bit of duplication between various lit.cfg files. Second, add a new feature 'leak-detection' if we're targetting x86_64 (not i386) on Linux. Third, change a couple of tests that need leak detection to require the new 'leak-detection' feature. Reviewers: kcc, earthdok, samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6396 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222738 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-16Revert r222091 because it caused a buildbot failure.Jay Foad
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222095 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-15[ASan] Fix leak tests on 64-bit targets other than x86-64Jay Foad
Summary: This test explicitly sets ASAN_OPTIONS=detect_leaks=1 which is only supported on x86-64. The test is currently restricted to run only on 64-bit targets, but needs to be restricted further so it only runs on x86-64. Reviewers: kcc, eugenis, earthdok, samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6189 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222091 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-29[sanitizer] Android build cleanup.Evgeniy Stepanov
* Detect Android toolchain target arch and set correct runtime library name. * Merged a lot of Android and non-Android code paths. * Android is only supported in standalone build of compiler-rt now. * Linking lsan-common in ASan-Android (makes lsan annotations work). * Relying on -fsanitize=address linker flag when building tests (again, unification with non-Android path). * Runtime library moved from lib/asan to lib/linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218605 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-18Enable Asan lit tests on FreeBSD.Viktor Kutuzov
Differential Revision: http://reviews.llvm.org/D5375 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218042 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-05Use "-gline-tables-only" instead of "-g" in sanitizer test suites.Alexey Samsonov
We are interested in verifying that -gline-tables-only provides enough debug information for verbose error reports and symbolized stack traces. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@217284 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-28[UBSan] Temporarily disable checks for stack traces in UBSan reports on DarwinAlexander Potapenko
to make the tests green. Slow stack unwinding is disabled in libsanitizer on Darwin now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@216657 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-22[ASan/Win] Land the trivial bits of -MD RTL support (PR20214)Timur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@216265 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-16Remove explicit references to libdl from Asan test casesViktor Kutuzov
Differential Revision: http://reviews.llvm.org/D4499 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213131 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-14[ASan/Win] Add a test for the case when dll_thunk is linked twice to the ↵Timur Iskhodzhanov
same DLL This is a test case for r212815. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212959 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-30[ASan Win] Fix a couple of warnings in tests and enable -WXTimur Iskhodzhanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209887 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-29Mark unstable tests as Unsupported on ARMGreg Fitzgerald
This is half the patch from: http://reviews.llvm.org/D3857 It lets us get deterministic results from the rest of the test suite. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209861 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-28[sanitizer] Replace -lpthread with -pthread in tests.Evgeniy Stepanov
-lpthread does not work on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209735 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-28[ASan/Win] Use clang rather than clang-cl by default for lit tests. Make ↵Timur Iskhodzhanov
Windows-only tests explicitly use clang-cl. Reviewed at http://reviews.llvm.org/D3893 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209719 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-19[sanitizer] Support sandboxing in sanitizer coverage.Sergey Matveev
Summary: Sandboxed code may now pass additional arguments to __sanitizer_sandbox_on_notify() to force all coverage data to be dumped to a single file (the default is one file per module). The user may supply a file or socket to write to. The latter option can be used to broker out the file writing functionality. If -1 is passed, we pre-open a file. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209121 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-14[ASan tests] Add the first Windows-only lit testTimur Iskhodzhanov
Reviewed at http://reviews.llvm.org/D3767 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208802 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-30Allow any test to be executed via a %run command.Greg Fitzgerald
Configure %run with COMPILER_RT_EMULATOR: $ cmake -DCOMPILER_RT_EMULATOR="qemu-arm -L $SYSROOT" git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207707 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-01[ASan] Optional support for dynamic ASan runtime on Linux.Alexey Samsonov
Based on http://llvm-reviews.chandlerc.com/D3042 by Yuri Gribov! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205308 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-27[asan] Do not sanitize kernel area on 32-bit targets, patch by Yuri GribovKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204897 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-14[ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=274Alexander Potapenko
by ignoring globals from __TEXT,__cstring,cstring_literals during instrumenation. Add a regression test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203916 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-19Add rudimentary support for running compiler-rt lit tests with GCCAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201680 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-17Simplify defining Clang compile flags in lit configsAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201513 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14Move ASan lit-tests under test/asanAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201413 91177308-0d34-0410-b5e6-96231b3b80d8