diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-06-21 21:18:32 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-06-21 21:18:32 +0000 |
commit | a68e1c398a0ab9c24e82090fbb26c755dbc62c3c (patch) | |
tree | 95c639f3dc6cb6924f17e9d37fb1e5dfa4619c0c /lib/Driver/Tools.cpp | |
parent | 13c4f2144b35bda21746eb60ad90e52a9bd8dcda (diff) |
Driver/Darwin: Fixup version check for -object_path_lto support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 40ad2caabb..a4bb8fed46 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -2911,7 +2911,7 @@ void darwin::Link::AddLinkArgs(Compilation &C, // If we are using LTO, then automatically create a temporary file path for // the linker to use, so that it's lifetime will extend past a possible // dsymutil step. - if (Version[0] >= 100 && D.IsUsingLTO(Args)) { + if (Version[0] >= 116 && D.IsUsingLTO(Args)) { const char *TmpPath = C.getArgs().MakeArgString( D.GetTemporaryPath(types::getTypeTempSuffix(types::TY_Object))); C.addTempFile(TmpPath); |