hanchenye-llvm-project/compiler-rt/test
Julian Lettner ee82db57ec [libFuzzer] Make coverage.test work on ARM64
Summary:
This test instruments the following code with coverage, runs the fuzzer
once, and asserts that there are uncovered PCs. The ARM64 backend
optimizes this code using the `csel` (Conditional select) instruction,
which removes all branching from the resulting machine code. The test
then fails because we do not have any uncovered PCs. The easiest
solution for now is to turn off optimization for the DSOs used in this
test.

```
int DSO1(int a) {
  if (a < 123456)
    return 0;
  return 1;
}
```

rdar://47646400

Reviewers: kcc

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D58087

llvm-svn: 353780
2019-02-12 00:37:40 +00:00
..
BlocksRuntime Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
asan Explicitly set C++ standard for `Posix/no-fd.cc` ASan test. 2019-01-15 08:54:10 +00:00
builtins Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cfi compiler-rt tests: Unbreak cmake with LLVM_ENABLE_PIC=OFF on mac 2019-01-16 20:36:27 +00:00
dfsan Add weak definitions of trace-cmp hooks to dfsan 2018-06-01 21:59:25 +00:00
esan [Esan] Port cache frag to FreeBSD 2018-10-04 20:58:18 +00:00
fuzzer [libFuzzer] Make coverage.test work on ARM64 2019-02-12 00:37:40 +00:00
hwasan [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
interception
lsan [test] Detect glibc-2.27+ and XFAIL appropriate tests 2019-01-09 13:27:29 +00:00
msan [test] Disable sunrpc tests when rpc/xdr.h is missing 2019-01-14 19:18:34 +00:00
profile [InstrProf] Implement static profdata registration 2019-02-08 19:03:50 +00:00
safestack compiler-rt tests: Unbreak cmake with LLVM_ENABLE_PIC=OFF on mac 2019-01-16 20:36:27 +00:00
sanitizer_common Temporarily disable calls to getgrnam/getgrnam_r in test due to it hitting unrelated issues in EGLIBC 2.19. 2019-02-09 01:28:47 +00:00
scudo [scudo] Initial standalone skeleton check-in 2019-02-04 16:25:40 +00:00
shadowcallstack [scs] Disable negative test in shadowcallstack. 2018-06-29 15:16:45 +00:00
tsan [tsan] Remove debug logging and disable test on ppc64be 2019-02-09 19:28:52 +00:00
ubsan [ubsan] Make suppressions.cpp test pass for me on Windows 2019-02-01 21:35:17 +00:00
ubsan_minimal [compiler-rt][UBSan] Sanitization for alignment assumptions. 2019-01-15 09:44:27 +00:00
xray Add header <atomic> which is needed to compile with some older library versions. 2018-11-21 08:54:40 +00:00
.clang-format [compiler-rt] Use "ColumnLimit: 0" instead of "clang-format off" in tests 2018-12-01 01:24:29 +00:00
CMakeLists.txt [CMake] Quick-Fix FileCheck target does not exist when building against LLVM install-tree with COMPILER_RT_INCLUDE_TESTS=ON 2019-01-28 16:14:57 +00:00
lit.common.cfg gn build: Upgrade to NDK r19. 2019-02-05 05:10:19 +00:00
lit.common.configured.in gn build: Upgrade to NDK r19. 2019-02-05 05:10:19 +00:00