]> granicus.if.org Git - clang/commit
[CrashReproducer] Collect PCH included via -include-pch
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 12 Dec 2016 19:28:25 +0000 (19:28 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 12 Dec 2016 19:28:25 +0000 (19:28 +0000)
commit22d59b937301f26dde4bde2822452393f578962d
tree2fbabaac97d51ae35c13871afacbb89368fd5341
parent4d61f224163e7197919e097f8e32debf832d370f
[CrashReproducer] Collect PCH included via -include-pch

Collect the necessary input PCH files.

Do not try to validate the AST before copying it out because if the
crash is in this path, we won't be able to collect it. Instead only
check if it's a file containg an AST.

rdar://problem/27913709

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289460 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Job.cpp
lib/Frontend/CompilerInstance.cpp
test/Modules/crash-vfs-include-pch.m [new file with mode: 0644]