aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/Support/AArch64TargetParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Support/AArch64TargetParser.h')
-rw-r--r--llvm/include/llvm/Support/AArch64TargetParser.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/AArch64TargetParser.h b/llvm/include/llvm/Support/AArch64TargetParser.h
index 94f341c83260..fbe08945a038 100644
--- a/llvm/include/llvm/Support/AArch64TargetParser.h
+++ b/llvm/include/llvm/Support/AArch64TargetParser.h
@@ -123,6 +123,15 @@ void fillValidCPUArchList(SmallVectorImpl<StringRef> &Values);
bool isX18ReservedByDefault(const Triple &TT);
+struct ParsedBranchProtection {
+ StringRef Scope;
+ StringRef Key;
+ bool BranchTargetEnforcement;
+};
+
+bool parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP,
+ StringRef &Err);
+
} // namespace AArch64
} // namespace llvm