[compiler-rt] r358300 - [TSan][libdispatch] Fix failing test
Julian Lettner via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 11:31:09 PDT 2019
Author: yln
Date: Fri Apr 12 11:31:09 2019
New Revision: 358300
URL: http://llvm.org/viewvc/llvm-project?rev=358300&view=rev
Log:
[TSan][libdispatch] Fix failing test
The ThreadSanitizer-x86_64-iossim configuration (different SDK) seems to
require an additional #include.
rdar://49856637
Modified:
compiler-rt/trunk/test/tsan/libdispatch/data.c
Modified: compiler-rt/trunk/test/tsan/libdispatch/data.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/libdispatch/data.c?rev=358300&r1=358299&r2=358300&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/libdispatch/data.c (original)
+++ compiler-rt/trunk/test/tsan/libdispatch/data.c Fri Apr 12 11:31:09 2019
@@ -4,6 +4,7 @@
#include <dispatch/dispatch.h>
#include <stdio.h>
+#include <string.h>
long global = 42;
More information about the llvm-commits
mailing list