[clang] [llvm] [LLVM][Clang][AArch64] Implement AArch64 build attributes (PR #118771)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 09:27:37 PST 2025
================
@@ -7858,20 +7858,19 @@ bool AArch64AsmParser::parseDirectiveAeabiSubSectionHeader(SMLoc L) {
Optionality);
return true;
}
- if (HasActiveSubsection &&
- (SubsectionName == ActiveSubsection->VendorName)) {
- if (IsOptional != ActiveSubsection->IsOptional) {
+ if (SubsectionExists) {
+ if (IsOptional != ExistingSubsection->IsOptional) {
Error(Parser.getTok().getLoc(),
"optionality mismatch! subsection '" + SubsectionName +
"' already exists with optionality defined as '" +
- Twine(ActiveSubsection->IsOptional) + "' and not '" +
+ Twine(ExistingSubsection->IsOptional) + "' and not '" +
Twine(IsOptional) + "' (0: required, 1: optional)");
----------------
sivan-shani wrote:
fixed, also for type.
https://github.com/llvm/llvm-project/pull/118771
More information about the llvm-commits
mailing list