]> git.ipfire.org Git - thirdparty/gcc.git/commit
diagnostics: implement file_cache::dump
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 16 Dec 2024 16:22:49 +0000 (11:22 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Mon, 16 Dec 2024 16:22:49 +0000 (11:22 -0500)
commite55cfebd0016e4945643322cb083b2fdf8ac835d
tree4405f6c43ba52449b1fe5271b49d70528fc97504
parent450ad5d43f134e656eee92cbae5749cb41e15e6f
diagnostics: implement file_cache::dump

This is purely for use when debugging.

gcc/ChangeLog:
* diagnostic.cc (diagnostic_context::dump): Dump m_file_cache.
* input.cc (file_cache_slot::dump): New decls and implementations.
(file_cache::dump): New.
* input.h (file_cache::dump): New decl.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/diagnostic.cc
gcc/input.cc
gcc/input.h