Lines Matching +full:- +full:isysroot
1 // REQUIRES: crash-recovery, shell, non-ms-sdk, non-ps4-sdk
5 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
8 // RUN: rm -rf %t
9 // RUN: mkdir -p %t/i %t/m %t
12 // RUN: %clang -fsyntax-only %s -I %S/Inputs/crash-recovery -isysroot %/t/i/ \
13 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
15 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
16 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
17 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
18 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
19 // RUN: find %t/crash-vfs-*.cache/vfs | \
20 // RUN: grep "Inputs/crash-recovery/usr/include/stdio.h" | count 1
25 // CHECK-NEXT: note: diagnostic msg: {{.*}}.m
26 // CHECK-NEXT: note: diagnostic msg: {{.*}}.cache
31 // CHECKSH-NEXT: # Driver args: "-fsyntax-only"
32 // CHECKSH-NEXT: # Original command: {{.*$}}
33 // CHECKSH-NEXT: "-cc1"
34 // CHECKSH: "-isysroot" "{{[^"]*}}/i/"
35 // CHECKSH-NOT: "-fmodules-cache-path="
36 // CHECKSH: "crash-vfs-{{[^ ]*}}.m"
37 // CHECKSH: "-ivfsoverlay" "crash-vfs-{{[^ ]*}}.cache/vfs/vfs.yaml"
38 // CHECKSH: "-fmodules-cache-path=crash-vfs-{{[^ ]*}}.cache/modules"
40 // CHECKYAML: 'case-sensitive':
41 // CHECKYAML-NEXT: 'use-external-names': 'false',
42 // CHECKYAML-NEXT: 'overlay-relative': 'true',
44 // CHECKYAML: 'name': "/[[PATH:.*]]/Inputs/crash-recovery/usr/include",
45 // CHECKYAML-NEXT: 'contents': [
46 // CHECKYAML-NEXT: {
47 // CHECKYAML-NEXT: 'type': 'file',
48 // CHECKYAML-NEXT: 'name': "module.map",
49 // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/Inputs/crash-recovery/usr/include/module.map"
50 // CHECKYAML-NEXT: },
56 // RUN: sed -e "s@usr/include@usr/include/../include@g" \
57 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml > %t/vfs.yaml
58 // RUN: cp %t/vfs.yaml %t/crash-vfs-*.cache/vfs/vfs.yaml
60 // RUN: %clang -E %s -I %S/Inputs/crash-recovery -isysroot %/t/i/ \
61 // RUN: -ivfsoverlay %t/crash-vfs-*.cache/vfs/vfs.yaml -fmodules \
62 // RUN: -fmodules-cache-path=%t/m/ 2>&1 \
63 // RUN: | FileCheck %s --check-prefix=CHECKOVERLAY
65 // CHECKOVERLAY: @import cstd.stdio; /* clang -E: implicit import for "/{{[^ ].*}}/usr/././//////in…