[compiler-rt] r265627 - [sancov] removing flaky test case (win)
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 17:23:04 PDT 2016
Author: aizatsky
Date: Wed Apr 6 19:23:02 2016
New Revision: 265627
URL: http://llvm.org/viewvc/llvm-project?rev=265627&view=rev
Log:
[sancov] removing flaky test case (win)
Modified:
compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc
Modified: compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc?rev=265627&r1=265626&r2=265627&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc Wed Apr 6 19:23:02 2016
@@ -32,17 +32,10 @@ int main() {
assert(buf1 == buf);
assert(sz1 > sz);
- bar();
- uintptr_t *buf2 = NULL;
- uintptr_t sz2 = __sanitizer_get_coverage_pc_buffer(&buf2);
- assertNotZeroPcs(buf2, sz2);
- assert(buf2 == buf);
- assert(sz2 == sz1);
-
__sanitizer_reset_coverage();
uintptr_t *buf3 = NULL;
uintptr_t sz3 = __sanitizer_get_coverage_pc_buffer(&buf3);
assertNotZeroPcs(buf3, sz3);
assert(buf3 == buf);
- assert(sz3 < sz2);
+ assert(sz3 < sz1);
}
More information about the llvm-commits
mailing list