mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #83856 from gottesmm/pr-3a5aea3430d587158233a9d47b24c1b46ddd709e
[frontend] Expose via a LangOption whether or not the compiler is compiling for a triple that supports AArch64 TBI.
This commit is contained in:
@@ -671,6 +671,9 @@ namespace swift {
|
||||
bool RestrictNonProductionExperimentalFeatures = false;
|
||||
#endif
|
||||
|
||||
/// Set to true if we support AArch64TBI.
|
||||
bool HasAArch64TBI = false;
|
||||
|
||||
bool isConcurrencyModelTaskToThread() const {
|
||||
return ActiveConcurrencyModel == ConcurrencyModel::TaskToThread;
|
||||
}
|
||||
|
||||
@@ -274,6 +274,9 @@ public:
|
||||
/// C++ stdlib is the default for the specified target.
|
||||
void computeCXXStdlibOptions();
|
||||
|
||||
/// Compute whether or not we support aarch64TBI
|
||||
void computeAArch64TBIOptions();
|
||||
|
||||
/// Computes the runtime resource path relative to the given Swift
|
||||
/// executable.
|
||||
static void computeRuntimeResourcePathFromExecutablePath(
|
||||
|
||||
Reference in New Issue
Block a user