diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-01 09:04:04 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-09-19 17:32:23 -0400 |
commit | 6c33fade75a76fa29908fad411b76a3670376152 (patch) | |
tree | 6d501dda822e87bd56622d8eb0acd36f77f6b3a5 /libstdc++-v3/Makefile.in | |
parent | ce1b47e9613ff7198c3a4e3ccd5b2ecb9cb35ef7 (diff) | |
download | gcc-6c33fade75a76fa29908fad411b76a3670376152.zip gcc-6c33fade75a76fa29908fad411b76a3670376152.tar.gz gcc-6c33fade75a76fa29908fad411b76a3670376152.tar.bz2 |
c++modules: report module mapper files as a dependency
It affects the build, and if used as a static file, can reliably be
tracked using the `-MF` mechanism.
gcc/cp/:
* mapper-client.cc, mapper-client.h (open_module_client): Accept
dependency tracking and track module mapper files as
dependencies.
* module.cc (make_mapper, get_mapper): Pass the dependency
tracking class down.
gcc/testsuite/:
* g++.dg/modules/depreport-2.modmap: New test.
* g++.dg/modules/depreport-2_a.C: New test.
* g++.dg/modules/depreport-2_b.C: New test.
* g++.dg/modules/test-depfile.py: Support `:|` syntax output
when generating modules.
Signed-off-by: Ben Boeckel <ben.boeckel@kitware.com>
Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libstdc++-v3/Makefile.in')
0 files changed, 0 insertions, 0 deletions