The file collector class is useful for constructing reproducers by creating a snapshot of the files that are accessed. Sometimes it might also be important to construct directories that don't necessarily have files, but are still accessed by some tool that we want to make a reproducer for. This is useful for instance for modeling the behavior of Clang's header search, which scans through a number of directories it doesn't actually access when looking for framework headers. This patch extends the file collector to allow it to work with paths that are just directories, by constructing them as the files are copied over.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM