[compiler-rt] 1274a07 - [NFC][asan] Use more common socket type in test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 14 16:48:04 PDT 2021
Author: Vitaly Buka
Date: 2021-10-14T16:46:07-07:00
New Revision: 1274a07da0099048388c5949457480614a2bed8c
URL: https://github.com/llvm/llvm-project/commit/1274a07da0099048388c5949457480614a2bed8c
DIFF: https://github.com/llvm/llvm-project/commit/1274a07da0099048388c5949457480614a2bed8c.diff
LOG: [NFC][asan] Use more common socket type in test
Added:
Modified:
compiler-rt/test/asan/TestCases/Posix/ioctl.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/Posix/ioctl.cpp b/compiler-rt/test/asan/TestCases/Posix/ioctl.cpp
index c871f94e137c1..01e9843619b7f 100644
--- a/compiler-rt/test/asan/TestCases/Posix/ioctl.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/ioctl.cpp
@@ -15,7 +15,7 @@
#endif
int main(int argc, char **argv) {
- int fd = socket(AF_INET, SOCK_DGRAM, 0);
+ int fd = socket(AF_UNIX, SOCK_DGRAM, 0);
int nonblock;
int res = ioctl(fd, FIONBIO, &nonblock + 1);
More information about the llvm-commits
mailing list