summaryrefslogtreecommitdiff
path: root/tools/llvm-lto
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-05-14 05:07:44 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-05-14 05:07:44 +0000
commit68d85bb8960592548a5c422f43bf678f268f2b75 (patch)
treebb13a33d9172ca49e49a5561d98ee499d0535b27 /tools/llvm-lto
parenta6723bb3375a73028a27c10d2b51c9c3a7d881d0 (diff)
Revert "Add testing in llvm-lto for ThinLTO caching."
This reverts commit r269538 and r269542. "rename()" is expected to fail across filesystems, will handle this. From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-lto')
-rw-r--r--tools/llvm-lto/llvm-lto.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/llvm-lto/llvm-lto.cpp b/tools/llvm-lto/llvm-lto.cpp
index 51767977dd0..655e8c8379e 100644
--- a/tools/llvm-lto/llvm-lto.cpp
+++ b/tools/llvm-lto/llvm-lto.cpp
@@ -109,9 +109,6 @@ static cl::opt<std::string> ThinLTOModuleId(
cl::desc("For the module ID for the file to process, useful to "
"match what is in the index."));
-static cl::opt<std::string>
- ThinLTOCacheDir("thinlto-cache-dir", cl::desc("Enable ThinLTO caching."));
-
static cl::opt<bool>
SaveModuleFile("save-merged-module", cl::init(false),
cl::desc("Write merged LTO module to file before CodeGen"));
@@ -353,7 +350,6 @@ public:
ThinLTOProcessing(const TargetOptions &Options) {
ThinGenerator.setCodePICModel(RelocModel);
ThinGenerator.setTargetOptions(Options);
- ThinGenerator.setCacheDir(ThinLTOCacheDir);
// Add all the exported symbols to the table of symbols to preserve.
for (unsigned i = 0; i < ExportedSymbols.size(); ++i)