[PATCH] D65430: Add `--dependency-files` option, which is equivalent to compiler option -MD.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 09:12:39 PDT 2020


MaskRay added a comment.

I have mentioned this several times. You can just process `-t` output like `{ echo -n 'a: '; clang a.o -o a -Wl,-t | sed 's/(.*//' | sort -u | sed '$!s/$/ \\/';} > a.d`

The problems are summarized previously and I don't see they are addressed. Given an existing simple way listing dependencies, I don't think we need more -M* like options.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65430/new/

https://reviews.llvm.org/D65430





More information about the llvm-commits mailing list