llvm-project/clang/test/ClangScanDeps/Inputs
Michael Spencer 356a4b433b [clang][clang-scan-deps] Aggregate the full dependency information.
Differential Revision: https://reviews.llvm.org/D70268

This is a recommit of f978ea4983 with a fix for the PowerPC failure.

The issue was that:
* `CompilerInstance::ExecuteAction` calls
  `getTarget().adjust(getLangOpts());`.
* `PPCTargetInfo::adjust` changes `LangOptions::HasAltivec`.
* This happens after the first few calls to `getModuleHash`.

There’s even a FIXME saying:
```
  // FIXME: We shouldn't need to do this, the target should be immutable once
  // created. This complexity should be lifted elsewhere.
```

This only showed up on PowerPC because it's one of the few targets that
almost always changes a hashed langopt.

I looked into addressing the fixme, but that would be a much larger
change, and it's not the only thing that happens in `ExecuteAction` that
can change the module context hash. Instead I changed the code to not
call `getModuleHash` until after it has been modified in `ExecuteAction`.
2020-01-23 16:58:50 -08:00
..
frameworks/Framework.framework [clang-scan-deps] Implementation of dependency scanner over minimized sources 2019-08-06 20:43:25 +00:00
foodir [clang-scan-deps] Fix for headers having the same name as a directory 2019-09-13 22:12:02 +00:00
has_include_if_elif.json [clang-scan-deps] do not skip empty #if/#elif in the minimizer to avoid missing `__has_include` dependencies 2019-12-02 18:47:22 -08:00
header.h
header2.h
header_stat_before_open_cdb.json [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir path 2019-09-11 00:30:26 +00:00
headerwithdirname.json [clang-scan-deps] Fix for headers having the same name as a directory 2019-09-13 22:12:02 +00:00
headerwithdirnamefollowedbyinclude.json In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests. 2019-10-10 15:29:01 +00:00
module.modulemap [clang-scan-deps] Add basic support for modules. 2019-10-24 16:19:11 -07:00
modules_cdb.json [clang][clang-scan-deps] Aggregate the full dependency information. 2020-01-23 16:58:50 -08:00
no-werror.json [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir path 2019-09-11 00:30:26 +00:00
regular_cdb.json [clang][ScanDeps] Fix issue with multiple commands with the same input. 2019-10-31 14:22:01 -07:00
static-analyzer-cdb.json [clang-scan-deps] Support for clang --analyze in clang-scan-deps 2019-10-14 20:15:01 +00:00
strip_diag_serialize.json [clang-scan-deps] strip the --serialize-diagnostics argument 2019-09-21 00:17:26 +00:00
subframework_header_dir_symlink_cdb.json [clang-scan-deps] remove dots and dots dots from the reported file dependency paths 2019-09-12 18:03:24 +00:00
symlink_cdb.json [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00
sys-header.h [clang-scan-deps] use `-Wno-error` when scanning for dependencies 2019-07-03 18:01:32 +00:00
vfsoverlay.yaml [clang-scan-deps] Implementation of dependency scanner over minimized sources 2019-08-06 20:43:25 +00:00
vfsoverlay_cdb.json [clang-scan-deps] Add dependency targets 2019-09-12 00:48:45 +00:00