[PATCH] D53522: [Frontend] Include module map header declaration in dependency file output
Volodymyr Sapsai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 13 12:06:51 PST 2018
vsapsai added a comment.
The test case I've promised is
touch a.h
touch b.h
touch c.h
ln -s b.h d.h
echo '#include "a.h"' > umbrella.h
echo '#include "b.h"' >> umbrella.h
echo '#include "b.h"' > test_case.c
cat <<EOF > module.modulemap
module my_module {
umbrella header "umbrella.h" export *
header "c.h" export *
header "d.h" export *
}
EOF
clang -cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=./cache ./test_case.c -MT test_case.o -dependency-file -
Expected b.h to be present in `test_case.o` dependencies but it's not.
Keep in mind this test case can be unrelated to your change.
https://reviews.llvm.org/D53522
More information about the cfe-commits
mailing list