From 01af97d3b23bded2b2b21af19bbc6e4cce49e5b3 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 May 2011 19:39:53 +0000 Subject: Vendor import of clang trunk r130700: http://llvm.org/svn/llvm-project/cfe/trunk@130700 --- include/clang/Driver/ToolChain.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/clang/Driver/ToolChain.h') diff --git a/include/clang/Driver/ToolChain.h b/include/clang/Driver/ToolChain.h index f0012bd851eb6..da6949f9786ea 100644 --- a/include/clang/Driver/ToolChain.h +++ b/include/clang/Driver/ToolChain.h @@ -88,8 +88,10 @@ public: return 0; } - /// SelectTool - Choose a tool to use to handle the action \arg JA. - virtual Tool &SelectTool(const Compilation &C, const JobAction &JA) const = 0; + /// SelectTool - Choose a tool to use to handle the action \arg JA with the + /// given \arg Inputs. + virtual Tool &SelectTool(const Compilation &C, const JobAction &JA, + const ActionList &Inputs) const = 0; // Helper methods @@ -151,6 +153,9 @@ public: /// particular PIC mode. virtual const char *GetForcedPicModel() const = 0; + /// SupportsProfiling - Does this tool chain support -pg. + virtual bool SupportsProfiling() const { return true; } + /// Does this tool chain support Objective-C garbage collection. virtual bool SupportsObjCGC() const { return false; } -- cgit v1.2.3