Bug ID: 36701
Summary: add a real option to clang-cl for gcc-style dependency
Component: -New Bugs
As suggested in the following thread:
It would be great if clang-cl had real options for generating gcc-style
dependency files. As pointed out in the thread, you can do something like
-Xclang -dependency-file -Xclang foo.obj; the outstanding patch we have for
Firefox does something more like:
clang-cl -Xclang -MP -Xclang -MG -Xclang -dependency-file -Xclang x.pp -Xclang
-MT -Xclang x.obj x.cpp
and it would be nice to clean that up. Not having to specify -MT manually, for
instance, would be nice.
Looking at the code for handling gcc-style dependency options
(Clang::AddPreprocessingOptions), it also looks like there's code to indicate
that the dependency file should be deleted on failure (?), and that's something
that doesn't seem to be present in the more manual approach outlined above.
You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list