Rename -ir2obj-cache-* cmdline flags to -cache-*, because the cache can be used for more things than just ir2obj caching.

Rename "ir2obj" namespace to "cache".
This commit is contained in:
Johan Engelen 2016-09-26 16:50:43 +02:00
parent a90fdfe624
commit e0c78fa198
14 changed files with 104 additions and 103 deletions

View file

@ -1131,7 +1131,7 @@ void codegenModules(Modules &modules) {
}
}
ir2obj::pruneCache();
cache::pruneCache();
freeRuntime();
llvm::llvm_shutdown();