projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2eb313
)
[asan] relax the test for long double
author
Kostya Serebryany
<kcc@google.com>
Thu, 22 May 2014 14:50:14 +0000
(14:50 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Thu, 22 May 2014 14:50:14 +0000
(14:50 +0000)
llvm-svn: 209445
compiler-rt/lib/asan/tests/asan_test.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/tests/asan_test.cc
b/compiler-rt/lib/asan/tests/asan_test.cc
index
5ec6a4d
..
7597a5d
100644
(file)
--- a/
compiler-rt/lib/asan/tests/asan_test.cc
+++ b/
compiler-rt/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[0
2
6]");
+ EXPECT_DEATH(Ident(p)[0] = Ident(p)[12], "READ of size 1[0
2
6]");
delete [] Ident(p);
}