[compiler-rt] r347357 - [Sanitizer] Unbreak non NetBSD builds.

David Carlier via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 20 14:35:29 PST 2018


Author: devnexen
Date: Tue Nov 20 14:35:29 2018
New Revision: 347357

URL: http://llvm.org/viewvc/llvm-project?rev=347357&view=rev
Log:
[Sanitizer] Unbreak non NetBSD builds.

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/setvbuf.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/setvbuf.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/setvbuf.cc?rev=347357&r1=347356&r2=347357&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/setvbuf.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/setvbuf.cc Tue Nov 20 14:35:29 2018
@@ -62,9 +62,11 @@ void test_setvbuf() {
 int main(void) {
   printf("setvbuf\n");
 
+#if defined(__NetBSD__)
   test_setbuf();
   test_setbuffer();
   test_setlinebuf();
+#endif
   test_setvbuf();
 
   // CHECK: setvbuf




More information about the llvm-commits mailing list