summaryrefslogtreecommitdiffstats
path: root/clang/test/VFS/Inputs/vfsroot.yaml
blob: 0b00692b64510098f2feed8c407ec64dc2e3ebb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  'version': 0,
  'use-external-names': false,
  'fallthrough': false,
  'roots': [
    { 'name': '/tests', 'type': 'directory',
      'contents': [
        { 'name': 'vfsroot-include.c', 'type': 'file',
          'external-contents': 'TEST_DIR/vfsroot-include.c'
        },
        { 'name': 'vfsroot-with-overlay.c', 'type': 'file',
          'external-contents': 'TEST_DIR/vfsroot-with-overlay.c'
        },
        { 'name': 'vfsroot-module.m', 'type': 'file',
          'external-contents': 'TEST_DIR/vfsroot-module.m'
        }
      ]
    },
    { 'name': '/direct-vfs-root-files', 'type': 'directory',
      'contents': [
        { 'name': 'not_real.h', 'type': 'file',
          'external-contents': 'TEST_DIR/Inputs/actual_header.h'
        },
        { 'name': 'vfsoverlay.yaml', 'type': 'file',
          'external-contents': 'OUT_DIR/vfsoverlay.yaml'
        }
      ]
    },
    { 'name': '/indirect-vfs-root-files', 'type': 'directory',
      'contents': [
        { 'name': 'actual_header.h', 'type': 'file',
          'external-contents': 'TEST_DIR/Inputs/actual_header.h'
        }
      ]
    },
    { 'name': 'TEST_DIR/Inputs/Broken.framework', 'type': 'directory',
      'contents': [
        { 'name': 'Headers/A.h', 'type': 'file',
          'external-contents': 'TEST_DIR/Inputs/Broken.framework/VFSHeaders/A.h'
        },
        { 'name': 'Modules/module.modulemap', 'type': 'file',
          'external-contents': 'TEST_DIR/Inputs/Broken.framework/Modules/module.modulemap'
        }
      ]
    },
    # Locations for modules.
    { 'name': 'OUT_DIR/cache', 'type': 'directory',
      'contents': [
        { 'name': 'Broken.pcm', 'type': 'file',
          'external-contents': 'OUT_DIR/cache/Broken.pcm'
        }
      ]
    }
  ]
}
OpenPOWER on IntegriCloud