[Driver] Pass the flag -dI to cc1 invocation
authorQichao Gu <qichao.gu@intel.com>
Tue, 18 Jan 2022 14:15:13 +0000 (06:15 -0800)
committerErich Keane <erich.keane@intel.com>
Tue, 18 Jan 2022 14:16:44 +0000 (06:16 -0800)
commit67ac3f1fbeec6ac53a2e32014fe277e49c77b182
tree89f1bf5d126482ceb9214341d85506a4675328c7
parentd835dd4cf5cc32bcc983c23eda60f7b016118dd3
[Driver] Pass the flag -dI to cc1 invocation

Hook up the flag -dI in the driver to pass it to cc1 invocation.

Differential Revision: https://reviews.llvm.org/D117292
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/preprocessor.c