llvm-capstone/clang/test/VFS
Volodymyr Sapsai 52c62d46a0
Reland "[modules] Fix error about the same module being defined in different .pcm files when using VFS overlays."
Fixing Windows buildbot by not using "BuildTemporaries/module.modulemap"
because it is interpreted as defining a module in "BuildTemporaries" directory.

Fix errors like
> module 'MultiPath' is defined in both 'path/to/modules.cache/3JR48BPRU7BCG/MultiPath-1352QHUF8RNMU.pcm' and 'path/to/modules.cache/3JR48BPRU7BCG/MultiPath-20HNSLLIUDDV1.pcm'

To avoid building extra identical modules `-ivfsoverlay` option is not a
part of the hash like "/3JR48BPRU7BCG/". And it is build system's
responsibility to provide `-ivfsoverlay` options that don't cause
observable differences.  We also need to make sure the hash like
"-1352QHUF8RNMU" is not affected by `-ivfsoverlay`. As this hash is
defined by the module map path, use the path prior to any VFS
remappings.

rdar://111921464

Differential Revision: https://reviews.llvm.org/D156749
2023-08-16 18:27:17 -07:00
..
Inputs [vfs] Allow root paths relative to the vfsoverlay YAML file 2022-12-16 11:45:36 -08:00
broken-vfs-module-dep.c
directory.c
external-names-multi-overlay.c
external-names.c Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
fallback.c
framework-import.m
implicit-include.c
include-mixed-real-and-virtual.c
include-real-from-virtual.c
include-virtual-from-real.c
include.c
incomplete-umbrella.m
module_missing_vfs.m
module-header-mismatches.m
module-import.m [clang][modules] Don't depend on sharing FileManager during module build 2022-08-05 12:24:40 -07:00
module-map-path.m Reland "[modules] Fix error about the same module being defined in different .pcm files when using VFS overlays." 2023-08-16 18:27:17 -07:00
parse-errors.c
real-path-found-first.m [NFC][clang] Refine tests by adding : to checks 2023-03-01 05:58:34 -05:00
relative-path-errors.c
relative-path.c [vfs] Allow root paths relative to the vfsoverlay YAML file 2022-12-16 11:45:36 -08:00
subframework-symlink.m
test_nonmodular.c
umbrella-framework-import-skipnonexist.m
vfsoverlay-relative-root.c
vfsroot-include.c [NFC][clang] Refine tests by adding : to checks 2023-03-01 05:58:34 -05:00
vfsroot-module.m
vfsroot-with-overlay.c