[compiler-rt] r313728 - [asan] Try to fix windows test by fflush(stderr)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 00:16:08 PDT 2017


Author: vitalybuka
Date: Wed Sep 20 00:16:08 2017
New Revision: 313728

URL: http://llvm.org/viewvc/llvm-project?rev=313728&view=rev
Log:
[asan] Try to fix windows test by fflush(stderr)

Modified:
    compiler-rt/trunk/test/asan/TestCases/error_report_callback.cc

Modified: compiler-rt/trunk/test/asan/TestCases/error_report_callback.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/error_report_callback.cc?rev=313728&r1=313727&r2=313728&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/error_report_callback.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/error_report_callback.cc Wed Sep 20 00:16:08 2017
@@ -6,6 +6,7 @@
 
 static void ErrorReportCallbackOneToZ(const char *report) {
   fprintf(stderr, "ABCDEF%sGHIJKL", report);
+  fflush(stderr);
 }
 
 int main(int argc, char **argv) {




More information about the llvm-commits mailing list