summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/explicit-build-missing-files.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [modules] Extend r266113 to cope with submodules.Richard Smith2016-04-121-1/+1
| | | | llvm-svn: 266116
* [modules] When an incompatible module file is explicitly provided for a module,Richard Smith2016-04-121-1/+4
| | | | | | | | and we fall back to textual inclusion, don't require the module as a whole to be marked available; it's OK if some other file in the same module is missing, just as it would be if the header were explicitly marked textual. llvm-svn: 266113
* [modules] Add -cc1 flag -fmodules-embed-all-files.Richard Smith2015-11-241-1/+6
| | | | | | | | | | | | | | This flag causes all files that were read by the compilation to be embedded into a produced module file. This is useful for distributed build systems that use an include scanning system to determine which files are "needed" by a compilation, and only provide those files to remote compilation workers. Since using a module can require any file that is part of that module (or anything it transitively includes), files that are not found by an include scanner can be required in a regular build using explicit modules. With this flag, only files that are actually referenced by transitively-#included files are required to be present on the build machine. llvm-svn: 253950
* [modules] When explicitly building a module file, don't include timestamps inRichard Smith2015-08-171-0/+4
| | | | | | | the produced pcm file for stable file creation across distributed build systems. llvm-svn: 245199
* Don't run explicit-modules-missing-files.cpp on WindowsReid Kleckner2015-08-141-0/+3
| | | | | | | | | | | It is flaky due to inability to remove files with open handles. We could paper over it with rm -f, but then the file would still be present. This is more evidence to me that we should roll our own 'rm' implementation in LLVM. llvm-svn: 245083
* [modules] Add an experimental -cc1 feature to embed the contents of an inputRichard Smith2015-08-141-6/+17
| | | | | | | | | | | file in the .pcm files. This allows a smaller set of files to be sent to a remote build worker when building with explicit modules (for instance, module map files need not be sent along with the corresponding precompiled modules). This doesn't actually make the embedded files visible to header search, so it's not useful as a packaging format for public header files. llvm-svn: 245028
* [modules] Don't suggest deleting the module cache on an error if there is no ↵Richard Smith2015-08-111-0/+1
| | | | | | module cache for this build. llvm-svn: 244547
* [modules] Properly diagnose errors in module files for which we have noRichard Smith2015-08-111-1/+12
| | | | | | corresponding include location (those specified on the command line). llvm-svn: 244538
* [modules] PR22534: Load files specified by -fmodule-file= eagerly. In ↵Richard Smith2015-08-091-0/+21
particular, this avoids the need to re-parse module map files when using such a module. llvm-svn: 244416
OpenPOWER on IntegriCloud