summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/modified-module-dependency.m
Commit message (Collapse)AuthorAgeFilesLines
* Commit some test changes somehow missed in r239789.Richard Smith2015-06-161-2/+2
| | | | llvm-svn: 239791
* Allow multiple modules with the same name to coexist in the module cacheBen Langmuir2014-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To differentiate between two modules with the same name, we will consider the path the module map file that they are defined by* part of the ‘key’ for looking up the precompiled module (pcm file). Specifically, this patch renames the precompiled module (pcm) files from cache-path/<module hash>/Foo.pcm to cache-path/<module hash>/Foo-<hash of module map path>.pcm In addition, I’ve taught the ASTReader to re-resolve the names of imported modules during module loading so that if the header search context changes between when a module was originally built and when it is loaded we can rebuild it if necessary. For example, if module A imports module B first time: clang -I /path/to/A -I /path/to/B ... second time: clang -I /path/to/A -I /different/path/to/B ... will now rebuild A as expected. * in the case of inferred modules, we use the module map file that allowed the inference, not the __inferred_module.map file, since the inferred file path is the same for every inferred module. llvm-svn: 206201
* Tweak clang/test/PCH/modified-module-dependency.m for win32 hosts.NAKAMURA Takumi2014-01-171-4/+4
| | | | llvm-svn: 199469
* Improve the error message when a PCH dependency is modifiedBen Langmuir2014-01-171-0/+20
Show the top-level pch file as the culprit, rather than the immediate dependency when a pch file imports a pcm from a module. To clarify the relationship, the pch import stack is printed as notes. The old behaviour was misleading when a pch imported a pcm (from a module), since removing the pcm would not fix the problem, whereas rebuilding the pch would. llvm-svn: 199446
OpenPOWER on IntegriCloud