summaryrefslogtreecommitdiff
path: root/test/Modules/dependency-dump.m
Commit message (Collapse)AuthorAge
* test: Just check the VFS when testing module-dependency-dumpJustin Bogner2014-06-19
| | | | | | | Checking the filesystem seems to be a bit unreliable. Limit the tests to the VFS map for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211310 91177308-0d34-0410-b5e6-96231b3b80d8
* Frontend: Add a CC1 flag to dump module dependencies to a directoryJustin Bogner2014-06-19
This adds the -module-dependency-dir to clang -cc1, which specifies a directory to copy all of a module's dependencies into in a form suitable to be used as a VFS using -ivfsoverlay with the generated vfs.yaml. This is useful for crashdumps that involve modules, so that the module dependencies will be intact when a crash report script is used to reproduce a problem on another machine. We currently encode the absolute path to the dump directory, due to limitations in the VFS system. Until we can handle relative paths in the VFS, users of the VFS map may need to run a simple search and replace in the file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211303 91177308-0d34-0410-b5e6-96231b3b80d8