llvm-project/clang/test/ClangScanDeps
Jan Svoboda 7806a92868 [clang][modules][deps] Serialize inputs into PCMs using the "as requested" name
This patch changes the PCM serialization logic to refer to input files by their "requested" name. This fixes a bug where the dependency scanner reports the "final" file paths, which can result in failed explicit compiles due to the `module.modulemap` file not being surrounded by the expected framework directory structure.

Depends on D135634.

Reviewed By: benlangmuir, Bigcheese

Differential Revision: https://reviews.llvm.org/D135636
2022-12-02 16:12:16 -08:00
..
Inputs [clang][deps] Remove more codegen options 2022-10-11 15:57:19 -07:00
deprecated-driver-api.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
diagnostic-pragmas.c Reland "[clang][deps] During scanning don't emit warnings-as-errors that are ignored with diagnostic pragmas." 2022-12-02 14:30:41 -08:00
diagnostics.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
error.cpp Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
generate-modules-path-args.c [clang][deps] Always generate module paths 2022-08-10 11:58:28 -07:00
has_include_if_elif.cpp [Tooling/DependencyScanning] Rename refactorings towards transitioning dependency scanning to use pre-lexed preprocessor directive tokens 2022-05-26 12:49:51 -07:00
header-search-case-sensitivity.c [clang][deps] Ensure deterministic filename case 2022-04-08 09:18:00 +02:00
header-search-pruning-transitive.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
header-search-pruning.cpp [clang][deps] NFC: Align path separator conversion in tests 2022-03-16 13:40:09 +01:00
header_stat_before_open.m Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
headerwithdirname.cpp Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
headerwithdirnamefollowedbyinclude.cpp Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
macro-expansions.cpp [test/ClangScanDeps] Add a target triple for `macro-expansions.cpp` 2022-05-26 17:18:32 -07:00
modulemap-via-vfs.m [clang][deps] Abolish FileManager sharing 2022-10-04 12:47:22 -07:00
modules-context-hash-ignore-macros.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-context-hash-module-map-path.c [clang][deps] Always generate module paths 2022-08-10 11:58:28 -07:00
modules-context-hash-outputs.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-context-hash-warnings.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-context-hash.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-dep-args.c Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-disable-free.c [clang][deps] Always generate module paths 2022-08-10 11:58:28 -07:00
modules-excluded-header.m [clang][modules][deps] Report modulemaps describing excluded headers 2022-09-22 12:36:05 -07:00
modules-extern-submodule.c [clang][deps] Fix test failures on AIX 2022-12-02 13:10:07 -08:00
modules-extern-unrelated.m [clang][deps] Fix test failures on AIX 2022-12-02 13:10:07 -08:00
modules-file-name-as-requested.m [clang][modules][deps] Serialize inputs into PCMs using the "as requested" name 2022-12-02 16:12:16 -08:00
modules-file-path-isolation.c [clang][deps] Always generate module paths 2022-08-10 11:58:28 -07:00
modules-fmodule-name-no-module-built.m Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-full-by-mod-name.cpp [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-full.cpp Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-header-sharing.m [clang][deps] Fix test on AIX 2022-09-26 12:40:28 -07:00
modules-implementation-module-map.c [clang][deps] Prevent emitting diagnostics outside of source file 2022-10-11 15:57:20 -07:00
modules-implicit-dot-private.m [clang][modules][deps] System module maps might not be affecting 2022-11-01 22:41:40 -07:00
modules-incomplete-umbrella.c [clang][modules][deps] System module maps might not be affecting 2022-11-01 22:41:40 -07:00
modules-inferred-explicit-build.m [clang][deps] Always generate module paths 2022-08-10 11:58:28 -07:00
modules-inferred.m Reapply "[clang][deps] Split translation units into individual -cc1 or other commands" 2022-08-31 09:45:11 -07:00
modules-module-map-order.m [clang][modules][deps] Preserve module map load order 2022-09-22 12:54:51 -07:00
modules-no-undeclared-includes.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-pch-common-submodule.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-pch-common-via-submodule.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-pch-dangling.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-pch.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-redefinition.m [clang][modules][deps] System module maps might not be affecting 2022-11-01 22:41:40 -07:00
modules-symlink-dir-from-module.c [clang][deps] Remove checks that were just for exhaustiveness 2022-11-15 14:22:23 -08:00
modules-symlink-dir-vfs.c [clang][deps][lex] Avoid canonicalization of remapped framework directories 2022-12-01 19:59:54 -08:00
modules-symlink-dir.c [clang][deps] Canonicalize module map path 2022-10-05 15:42:38 -07:00
modules-symlink.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
modules-transitive.c [clang][modules][deps] Transitive module maps are not affecting 2022-12-01 20:16:17 -08:00
modules.cpp [Tooling/DependencyScanning] Rename refactorings towards transitioning dependency scanning to use pre-lexed preprocessor directive tokens 2022-05-26 12:49:51 -07:00
more-content-after-headerguard.c [Lex] Make sure to notify `MultipleIncludeOpt` for "read tokens" during fast dependency directive lexing 2022-06-29 15:50:16 -07:00
multiple-commands.c [Clang][ScanDeps] Change multiple-commands.c test to use -fmodules-cache-path on implicit builds 2022-09-09 16:20:04 -07:00
no-werror.cpp Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
preprocess_minimized_pragmas.cpp [Tooling/DependencyScanning] Rename refactorings towards transitioning dependency scanning to use pre-lexed preprocessor directive tokens 2022-05-26 12:49:51 -07:00
regular_cdb.cpp [Tooling/DependencyScanning] Rename refactorings towards transitioning dependency scanning to use pre-lexed preprocessor directive tokens 2022-05-26 12:49:51 -07:00
relative_directory.cpp
removed-args.c [clang][deps] Remove more codegen options 2022-10-11 15:57:19 -07:00
resource_directory.c [lit][AIX] Convert clang tests to use 'target={{.*}}-aix{{.*}}' 2022-12-02 09:44:15 -08:00
skipping-unmatched-if.c [Lex] Fix crash during dependency scanning while skipping an unmatched `#if` 2022-05-27 23:59:30 -07:00
static-analyzer.c Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
strip_diag_serialize.cpp Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
subframework_header_dir_symlink.m [clang][deps] Abolish FileManager sharing 2022-10-04 12:47:22 -07:00
submodule-order.c [clang][deps] Always generate module paths 2022-08-10 11:58:28 -07:00
symlink.cpp [clang][deps] Abolish FileManager sharing 2022-10-04 12:47:22 -07:00
target-filename.cpp Revert "[clang][deps] NFC: De-duplicate clang-cl tests" 2022-03-24 18:10:08 +00:00
vfsoverlay.cpp [clang][deps] Respect VFS overlays in canonical preprocessing mode 2022-10-12 18:40:34 -07:00