diff options
Diffstat (limited to 'test/asan/TestCases/debug_stacks.cc')
-rw-r--r-- | test/asan/TestCases/debug_stacks.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/asan/TestCases/debug_stacks.cc b/test/asan/TestCases/debug_stacks.cc index 15af76dc438af..857e905094bee 100644 --- a/test/asan/TestCases/debug_stacks.cc +++ b/test/asan/TestCases/debug_stacks.cc @@ -19,6 +19,9 @@ void func2() { } int main() { + // Disable stderr buffering. Needed on Windows. + setvbuf(stderr, NULL, _IONBF, 0); + func1(); func2(); |