clang  6.0.0svn
Public Member Functions | Protected Member Functions | List of all members
clang::driver::tools::darwin::MachOTool Class Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Driver/ToolChains/Darwin.h"

Inheritance diagram for clang::driver::tools::darwin::MachOTool:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::tools::darwin::MachOTool:
Collaboration graph
[legend]

Public Member Functions

 MachOTool (const char *Name, const char *ShortName, const ToolChain &TC, ResponseFileSupport ResponseSupport=RF_None, llvm::sys::WindowsEncodingMethod ResponseEncoding=llvm::sys::WEM_UTF8, const char *ResponseFlag="@")
 
- Public Member Functions inherited from clang::driver::Tool
 Tool (const char *Name, const char *ShortName, const ToolChain &TC, ResponseFileSupport ResponseSupport=RF_None, llvm::sys::WindowsEncodingMethod ResponseEncoding=llvm::sys::WEM_UTF8, const char *ResponseFlag="@")
 
virtual ~Tool ()
 
const char * getName () const
 
const char * getShortName () const
 
const ToolChaingetToolChain () const
 
virtual bool hasIntegratedAssembler () const
 
virtual bool canEmitIR () const
 
virtual bool hasIntegratedCPP () const =0
 
virtual bool isLinkJob () const
 
virtual bool isDsymutilJob () const
 
ResponseFileSupport getResponseFilesSupport () const
 Returns the level of support for response files of this tool, whether it accepts arguments to be passed via a file on disk. More...
 
llvm::sys::WindowsEncodingMethod getResponseFileEncoding () const
 Returns which encoding the response file should use. More...
 
const char * getResponseFileFlag () const
 Returns which prefix to use when passing the name of a response file as a parameter to this tool. More...
 
virtual bool hasGoodDiagnostics () const
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures. More...
 
virtual void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const =0
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C. More...
 
virtual void ConstructJobMultipleOutputs (Compilation &C, const JobAction &JA, const InputInfoList &Outputs, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const
 Construct jobs to perform the action JA, writing to the Outputs and with Inputs, and add the jobs to C. More...
 

Protected Member Functions

void AddMachOArch (const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const
 
const toolchains::MachOgetMachOToolChain () const
 

Additional Inherited Members

- Public Types inherited from clang::driver::Tool
enum  ResponseFileSupport { RF_Full, RF_FileList, RF_None }
 

Detailed Description

Definition at line 30 of file Darwin.h.

Constructor & Destructor Documentation

◆ MachOTool()

clang::driver::tools::darwin::MachOTool::MachOTool ( const char *  Name,
const char *  ShortName,
const ToolChain TC,
ResponseFileSupport  ResponseSupport = RF_None,
llvm::sys::WindowsEncodingMethod  ResponseEncoding = llvm::sys::WEM_UTF8,
const char *  ResponseFlag = "@" 
)
inline

Definition at line 42 of file Darwin.h.

Member Function Documentation

◆ AddMachOArch()

void darwin::MachOTool::AddMachOArch ( const llvm::opt::ArgList &  Args,
llvm::opt::ArgStringList &  CmdArgs 
) const
protected

Definition at line 154 of file Darwin.cpp.

◆ getMachOToolChain()

const toolchains::MachO& clang::driver::tools::darwin::MachOTool::getMachOToolChain ( ) const
inlineprotected

Definition at line 37 of file Darwin.h.


The documentation for this class was generated from the following files: