diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-02 18:02:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-02 18:02:50 +0000 |
commit | 6acf8b4f9418be93a24b493c2f8a7d32c203002d (patch) | |
tree | 4cf6e69650509bec745bf4f63626a9d385a8d593 /lib/Driver/Tools.h | |
parent | 865cc14c2fb62cedb5eb430cfe3051dac6dba873 (diff) |
During LTO, we call 'dsymutil' when we compile source files. This necessitates
clang specifying a temporary file that it later cleans up so that it can survive
the linking stage. However, when we compile object files during LTO we don't
call 'dsymutil'. That's done at a different stage (if at all). We rely upon the
linker to specify a unique name for the temporary file it generates.
<rdar://problem/12401423>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r-- | lib/Driver/Tools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index 999c57a2b6..9d0778b22f 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -288,8 +288,9 @@ namespace darwin { }; class LLVM_LIBRARY_VISIBILITY Link : public DarwinTool { + bool NeedsTempPath(const InputInfoList &Inputs) const; void AddLinkArgs(Compilation &C, const ArgList &Args, - ArgStringList &CmdArgs) const; + ArgStringList &CmdArgs, const InputInfoList &Inputs) const; public: Link(const ToolChain &TC) : DarwinTool("darwin::Link", "linker", TC) {} |