summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gold/gold-plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/gold/gold-plugin.cpp')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index fd4107eeb18..144a8eb90da 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -796,7 +796,8 @@ static std::unique_ptr<LTO> createLTO() {
break;
case options::OT_SAVE_TEMPS:
- check(Conf.addSaveTemps(output_name, /* UseInputModulePath */ true));
+ check(Conf.addSaveTemps(output_name + ".",
+ /* UseInputModulePath */ true));
break;
}
OpenPOWER on IntegriCloud