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:
54ce07d
)
Revert "[msan] Fix msan_test broken after r299884."
author
Vitaly Buka
<vitalybuka@google.com>
Thu, 13 Apr 2017 20:25:20 +0000
(20:25 +0000)
committer
Vitaly Buka
<vitalybuka@google.com>
Thu, 13 Apr 2017 20:25:20 +0000
(20:25 +0000)
This does not fix the test, it still fails to bind.
This reverts commit r300150.
llvm-svn: 300249
compiler-rt/lib/msan/tests/msan_test.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/msan/tests/msan_test.cc
b/compiler-rt/lib/msan/tests/msan_test.cc
index
4e962e1
..
eebce5e
100644
(file)
--- a/
compiler-rt/lib/msan/tests/msan_test.cc
+++ b/
compiler-rt/lib/msan/tests/msan_test.cc
@@
-899,7
+899,7
@@
class SocketAddr4 : public SocketAddr {
memset(&sai_, 0, sizeof(sai_));
sai_.sin_family = AF_INET;
sai_.sin_port = port;
- sai_.sin_addr.s_addr = htonl(INADDR_
ANY
);
+ sai_.sin_addr.s_addr = htonl(INADDR_
LOOPBACK
);
}
sockaddr *ptr() override { return reinterpret_cast<sockaddr *>(&sai_); }
@@
-917,7
+917,7
@@
class SocketAddr6 : public SocketAddr {
memset(&sai_, 0, sizeof(sai_));
sai_.sin6_family = AF_INET6;
sai_.sin6_port = port;
- sai_.sin6_addr = in6addr_
any
;
+ sai_.sin6_addr = in6addr_
loopback
;
}
sockaddr *ptr() override { return reinterpret_cast<sockaddr *>(&sai_); }