Skip to content

Commit 501a43b

Browse files
committed
Update comment
1 parent 3067c93 commit 501a43b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

llvm/lib/TargetParser/ARMTargetParserCommon.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ ARM::EndianKind ARM::parseArchEndian(StringRef Arch) {
134134
}
135135

136136
// Parse a branch protection specification, which has the form
137-
// standard | none | [bti,pac-ret[+b-key,+leaf,+pc]*]
138-
// Returns true on success, with individual elements of the specification
139-
// returned in `PBP`. Returns false in error, with `Err` containing
140-
// an erroneous part of the spec.
137+
// standard | none | [bti,pac-ret[+b-key,+leaf,+pc]*,gcs,pauthabi]
138+
// Note: pauthabi is allowed with bti and disallowed with pac-ret and gcs.
139+
// Returns true on success, with individual elements of the
140+
// specification returned in `PBP`. Returns false in error, with `Err`
141+
// containing an erroneous part of the spec.
141142
bool ARM::parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP,
142143
StringRef &Err, bool EnablePAuthLR) {
143144
PBP = {"none", "a_key", false, false, false, false};

0 commit comments

Comments
 (0)