From f8bff1c31c257abb760f08ef30f70205bc4b41f5 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 17 Mar 2016 16:19:51 +0000 Subject: Use a simpler set of mock headers for the vfs+modules crash recovery tests. The System/ mock is large and too complex for this test. It can cause the tests to fail in mysterious ways as it depends on the resource dir being present, which is not really supported for driver tests (using %clang instead of %clang_cc1). Copy the tree and trim out all the %unnecessary fat. llvm-svn: 263718 --- clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h (limited to 'clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h') diff --git a/clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h b/clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h new file mode 100644 index 00000000000..f41e09c35a4 --- /dev/null +++ b/clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h @@ -0,0 +1,3 @@ +typedef struct { int id; } FILE; +int fprintf(FILE*restrict, const char* restrict format, ...); +extern FILE *__stderrp; -- cgit v1.2.3