[PATCH] D61743: New clang option -MD-filter=prefix to filter files from make dependencies

Melanie Blower via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 10:02:48 PDT 2019


mibintc created this revision.
mibintc added reviewers: clang-c, fedor.sergeev.
mibintc added a project: clang.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Intel is developing an offload compiler based on clang (that will eventually be contributed to open source). In the course of the compilation many temporary .h files are generated in /tmp.  We'd like to have a way of eliding these dependencies from the -MD output. This new option -MD-filter=prefixstring is proposed.


Repository:
  rL LLVM

https://reviews.llvm.org/D61743

Files:
  docs/ClangCommandLineReference.rst
  include/clang/Driver/Options.td
  include/clang/Frontend/DependencyOutputOptions.h
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/DependencyFile.cpp
  test/Frontend/dependency-gen.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61743.198837.patch
Type: text/x-patch
Size: 5568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190509/215d8caf/attachment.bin>


More information about the llvm-commits mailing list