clang 20.0.0git
|
#include "clang/Driver/ToolChain.h"
#include "ToolChains/Arch/AArch64.h"
#include "ToolChains/Arch/ARM.h"
#include "ToolChains/Arch/RISCV.h"
#include "ToolChains/Clang.h"
#include "ToolChains/CommonArgs.h"
#include "ToolChains/Flang.h"
#include "ToolChains/InterfaceStubs.h"
#include "clang/Basic/ObjCRuntime.h"
#include "clang/Basic/Sanitizers.h"
#include "clang/Config/config.h"
#include "clang/Driver/Action.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/InputInfo.h"
#include "clang/Driver/Job.h"
#include "clang/Driver/Options.h"
#include "clang/Driver/SanitizerArgs.h"
#include "clang/Driver/XRayArgs.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/VersionTuple.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/TargetParser/AArch64TargetParser.h"
#include "llvm/TargetParser/RISCVISAInfo.h"
#include "llvm/TargetParser/TargetParser.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <cstddef>
#include <cstring>
#include <string>
#include "llvm/TargetParser/ARMTargetParser.def"
Go to the source code of this file.
Macros | |
#define | ARM_FPU(NAME, KIND, VERSION, NEON_SUPPORT, RESTRICTION) |
Functions | |
static llvm::opt::Arg * | GetRTTIArgument (const ArgList &Args) |
static ToolChain::RTTIMode | CalculateRTTIMode (const ArgList &Args, const llvm::Triple &Triple, const Arg *CachedRTTIArg) |
static ToolChain::ExceptionsMode | CalculateExceptionsMode (const ArgList &Args) |
static void | getAArch64MultilibFlags (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, Multilib::flags_list &Result) |
static void | getARMMultilibFlags (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, Multilib::flags_list &Result) |
static void | getRISCVMultilibFlags (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, Multilib::flags_list &Result) |
static const DriverSuffix * | FindDriverSuffix (StringRef ProgName, size_t &Pos) |
static std::string | normalizeProgramName (llvm::StringRef Argv0) |
Normalize the program name from argv[0] by stripping the file extension if present and lower-casing the string on Windows. | |
static const DriverSuffix * | parseDriverSuffix (StringRef ProgName, size_t &Pos) |
static StringRef | getArchNameForCompilerRTLib (const ToolChain &TC, const ArgList &Args) |
static VersionTuple | separateMSVCFullVersion (unsigned Version) |
#define ARM_FPU | ( | NAME, | |
KIND, | |||
VERSION, | |||
NEON_SUPPORT, | |||
RESTRICTION | |||
) |
|
static |
Definition at line 81 of file ToolChain.cpp.
References clang::driver::ToolChain::EM_Disabled, and clang::driver::ToolChain::EM_Enabled.
|
static |
Definition at line 65 of file ToolChain.cpp.
References clang::driver::ToolChain::RM_Disabled, and clang::driver::ToolChain::RM_Enabled.
|
static |
Definition at line 399 of file ToolChain.cpp.
Referenced by parseDriverSuffix().
|
static |
Definition at line 199 of file ToolChain.cpp.
References D, clang::driver::tools::aarch64::getAArch64TargetFeatures(), clang::Result, and clang::driver::tools::unifyTargetFeatures().
Referenced by clang::driver::ToolChain::getMultilibFlags().
|
static |
Definition at line 655 of file ToolChain.cpp.
References clang::driver::ToolChain::getArch(), clang::driver::tools::arm::getARMFloatABI(), clang::driver::ToolChain::getTriple(), and clang::driver::ToolChain::isBareMetal().
Referenced by clang::driver::ToolChain::buildCompilerRTBasename().
|
static |
Definition at line 251 of file ToolChain.cpp.
References D, clang::driver::tools::arm::getARMFloatABI(), clang::driver::tools::arm::getARMTargetFeatures(), clang::Result, and clang::driver::tools::unifyTargetFeatures().
Referenced by clang::driver::ToolChain::getMultilibFlags().
|
static |
Definition at line 318 of file ToolChain.cpp.
References clang::driver::tools::riscv::getRISCVABI(), clang::driver::tools::riscv::getRISCVArch(), and clang::Result.
Referenced by clang::driver::ToolChain::getMultilibFlags().
|
static |
Definition at line 60 of file ToolChain.cpp.
|
static |
Normalize the program name from argv[0] by stripping the file extension if present and lower-casing the string on Windows.
Definition at line 435 of file ToolChain.cpp.
Referenced by clang::driver::ToolChain::getTargetAndModeFromProgramName().
|
static |
Definition at line 445 of file ToolChain.cpp.
References FindDriverSuffix().
Referenced by clang::driver::ToolChain::getTargetAndModeFromProgramName().
|
static |
Definition at line 1496 of file ToolChain.cpp.
Referenced by clang::driver::ToolChain::computeMSVCVersion().