diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-03-27 16:47:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-03-27 16:47:18 +0000 |
commit | c544ba09695e300f31355af342258bd57619e737 (patch) | |
tree | 9947152b05a7ad85b91ab837892ae6bbb67d1e12 /docs | |
parent | 8343f8e00a222ca09dde536c77313e3e6e03ad59 (diff) |
<rdar://problem/13509689> Introduce -module-file-info option that provides information about a particular module file.
This option can be useful for end users who want to know why they
ended up with a ton of different variants of the "std" module in their
module cache. This problem should go away over time, as we reduce the
need for module variants, but it will never go away entirely.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Modules.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/Modules.rst b/docs/Modules.rst index b892e382fc..8a6b8b6d2e 100644 --- a/docs/Modules.rst +++ b/docs/Modules.rst @@ -180,6 +180,9 @@ Command-line parameters ``-fmodules-prune-after=seconds`` Specify the minimum time (in seconds) for which a file in the module cache must be unused (according to access time) before module pruning will remove it. The default delay is large (2,678,400 seconds, or 31 days) to avoid excessive module rebuilding. +``-module-file-info <module file name>`` + Debugging aid that prints information about a given module file (with a ``.pcm`` extension), including the language and preprocessor options that particular module variant was built with. + Module Map Language =================== |