summaryrefslogtreecommitdiff
path: root/lib/asan/tests/asan_test.cc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-05-22 14:50:14 +0000
committerKostya Serebryany <kcc@google.com>2014-05-22 14:50:14 +0000
commitafc4a5c19ccba171f1b0d1707b1ae58c7ee99090 (patch)
tree3a9de83a3fab28381cee041fe6ac61ebaff367da /lib/asan/tests/asan_test.cc
parente41b71fe41178606955c576fb3d7218e3b31c45f (diff)
[asan] relax the test for long double
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_test.cc')
-rw-r--r--lib/asan/tests/asan_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc
index 5ec6a4d07..7597a5d2b 100644
--- a/lib/asan/tests/asan_test.cc
+++ b/lib/asan/tests/asan_test.cc
@@ -183,8 +183,8 @@ TEST(AddressSanitizer, UAF_char) {
TEST(AddressSanitizer, UAF_long_double) {
if (sizeof(long double) == sizeof(double)) return;
long double *p = Ident(new long double[10]);
- EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[06]");
- EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[06]");
+ EXPECT_DEATH(Ident(p)[12] = 0, "WRITE of size 1[026]");
+ EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[026]");
delete [] Ident(p);
}