[CrashReproducer] Pass -I, -F and -resource-dir to the reproducer script when using...
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 4 Apr 2016 20:26:57 +0000 (20:26 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 4 Apr 2016 20:26:57 +0000 (20:26 +0000)
commitb810b02b853dc4e42d641cea24bc853f1894b9f0
tree7cb9c52daa1828f4675bdcbfbab752e038edb9b1
parentd955f899142029a439a6d3dd2285d64153d54024
[CrashReproducer] Pass -I, -F and -resource-dir to the reproducer script when using modules/vfs

The reproducer should use -I/-F/-resource-dir in the same way as the
original command. The VFS already collects the right headers but without
these flags the reproducer will fail to do the right thing.

llvm-svn: 265343
clang/lib/Driver/Job.cpp
clang/test/Modules/crash-vfs-relative-overlay.m