#include "CommonArgs.h"
#include "InputInfo.h"
#include "Hexagon.h"
#include "Arch/AArch64.h"
#include "Arch/ARM.h"
#include "Arch/Mips.h"
#include "Arch/PPC.h"
#include "Arch/SystemZ.h"
#include "Arch/X86.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/ObjCRuntime.h"
#include "clang/Basic/Version.h"
#include "clang/Basic/VirtualFileSystem.h"
#include "clang/Config/config.h"
#include "clang/Driver/Action.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Job.h"
#include "clang/Driver/Options.h"
#include "clang/Driver/SanitizerArgs.h"
#include "clang/Driver/ToolChain.h"
#include "clang/Driver/Util.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/TargetParser.h"
#include "llvm/Support/YAMLParser.h"
Go to the source code of this file.
|
| static std::string | getR600TargetGPU (const ArgList &Args) |
| | Get the (LLVM) name of the R600 gpu we are targeting. More...
|
| |
| static std::string | getNios2TargetCPU (const ArgList &Args) |
| |
| static std::string | getLanaiTargetCPU (const ArgList &Args) |
| |
| static StringRef | getWebAssemblyTargetCPU (const ArgList &Args) |
| | Get the (LLVM) name of the WebAssembly cpu we are targeting. More...
|
| |
| static void | addSanitizerRuntime (const ToolChain &TC, const ArgList &Args, ArgStringList &CmdArgs, StringRef Sanitizer, bool IsShared, bool IsWhole) |
| |
| static bool | addSanitizerDynamicList (const ToolChain &TC, const ArgList &Args, ArgStringList &CmdArgs, StringRef Sanitizer) |
| |
| static void | collectSanitizerRuntimes (const ToolChain &TC, const ArgList &Args, SmallVectorImpl< StringRef > &SharedRuntimes, SmallVectorImpl< StringRef > &StaticRuntimes, SmallVectorImpl< StringRef > &NonWholeStaticRuntimes, SmallVectorImpl< StringRef > &HelperStaticRuntimes, SmallVectorImpl< StringRef > &RequiredSymbols) |
| |
| static void | addLibFuzzerRuntime (const ToolChain &TC, const ArgList &Args, ArgStringList &CmdArgs) |
| |
| static void | AddLibgcc (const llvm::Triple &Triple, const Driver &D, ArgStringList &CmdArgs, const ArgList &Args) |
| |
| static void addLibFuzzerRuntime |
( |
const ToolChain & |
TC, |
|
|
const ArgList & |
Args, |
|
|
ArgStringList & |
CmdArgs |
|
) |
| |
|
static |
| static void AddLibgcc |
( |
const llvm::Triple & |
Triple, |
|
|
const Driver & |
D, |
|
|
ArgStringList & |
CmdArgs, |
|
|
const ArgList & |
Args |
|
) |
| |
|
static |
| static bool addSanitizerDynamicList |
( |
const ToolChain & |
TC, |
|
|
const ArgList & |
Args, |
|
|
ArgStringList & |
CmdArgs, |
|
|
StringRef |
Sanitizer |
|
) |
| |
|
static |
| static void addSanitizerRuntime |
( |
const ToolChain & |
TC, |
|
|
const ArgList & |
Args, |
|
|
ArgStringList & |
CmdArgs, |
|
|
StringRef |
Sanitizer, |
|
|
bool |
IsShared, |
|
|
bool |
IsWhole |
|
) |
| |
|
static |
Definition at line 533 of file CommonArgs.cpp.
References clang::driver::ToolChain::getSanitizerArgs(), clang::driver::ToolChain::getTriple(), clang::driver::SanitizerArgs::linkCXXRuntimes(), clang::driver::SanitizerArgs::needsAsanRt(), clang::driver::SanitizerArgs::needsCfiDiagRt(), clang::driver::SanitizerArgs::needsCfiRt(), clang::driver::SanitizerArgs::needsDfsanRt(), clang::driver::SanitizerArgs::needsEsanRt(), clang::driver::SanitizerArgs::needsLsanRt(), clang::driver::SanitizerArgs::needsMsanRt(), clang::driver::SanitizerArgs::needsSafeStackRt(), clang::driver::SanitizerArgs::needsSharedAsanRt(), clang::driver::SanitizerArgs::needsStatsRt(), clang::driver::SanitizerArgs::needsTsanRt(), and clang::driver::SanitizerArgs::needsUbsanRt().
| static std::string getLanaiTargetCPU |
( |
const ArgList & |
Args | ) |
|
|
static |
| static std::string getNios2TargetCPU |
( |
const ArgList & |
Args | ) |
|
|
static |
| static std::string getR600TargetGPU |
( |
const ArgList & |
Args | ) |
|
|
static |
Get the (LLVM) name of the R600 gpu we are targeting.
Definition at line 202 of file CommonArgs.cpp.
| static StringRef getWebAssemblyTargetCPU |
( |
const ArgList & |
Args | ) |
|
|
static |
Get the (LLVM) name of the WebAssembly cpu we are targeting.
Definition at line 241 of file CommonArgs.cpp.