[CrashReproducer] Collect headermap files
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sun, 11 Dec 2016 04:27:28 +0000 (04:27 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Sun, 11 Dec 2016 04:27:28 +0000 (04:27 +0000)
commit181225b8a3134b2a78be3734a409645045106ecd
tree580788f1206a6576cf35253c63675132199502c4
parentdc43d75ac0dd0bdd83ceed7436894dd8e3e79561
[CrashReproducer] Collect headermap files

Include headermaps (.hmap files) in the .cache directory and
add VFS entries. All headermaps are known after HeaderSearch
setup, collect them right after.

rdar://problem/27913709

llvm-svn: 289360
clang/include/clang/Lex/HeaderSearch.h
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Lex/HeaderSearch.cpp
clang/test/Modules/crash-vfs-headermaps.m [new file with mode: 0644]