diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-03-25 21:19:16 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-03-25 21:19:16 +0000 |
| commit | 527b1c95df4cd958acaca616662ce3777dfbe97e (patch) | |
| tree | 9fcbceddb234305591a263dd4f92ffec53beef77 /clang/lib/Driver/Tools.cpp | |
| parent | 5bd02926b47bfc550d002f1396f893422ed64947 (diff) | |
| download | bcm5719-llvm-527b1c95df4cd958acaca616662ce3777dfbe97e.tar.gz bcm5719-llvm-527b1c95df4cd958acaca616662ce3777dfbe97e.zip | |
<rdar://problem/13434605> Periodically prune the module cache so that it does not grow forever.
llvm-svn: 177918
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
| -rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index bff8848db0e..c7e47ad1110 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -2827,6 +2827,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // Pass through all -fmodules-ignore-macro arguments. Args.AddAllArgs(CmdArgs, options::OPT_fmodules_ignore_macro); + Args.AddLastArg(CmdArgs, options::OPT_fmodules_prune_interval); + Args.AddLastArg(CmdArgs, options::OPT_fmodules_prune_after); // -fmodules-autolink (on by default when modules is enabled) automatically // links against libraries for imported modules. This requires the |

