Skip to content

Commit 8b1e002

Browse files
committed
change ErrAlways to Err
1 parent 20760a9 commit 8b1e002

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lld/ELF/InputFiles.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -576,16 +576,16 @@ handleAArch64BAAndGnuProperties(const ELFT &tPointer, Ctx &ctx, bool isBE,
576576
auto baPauth = serializeUnsigned(baInfo.Pauth.TagPlatform,
577577
baInfo.Pauth.TagSchema, isBE);
578578
if (gpInfo.aarch64PauthAbiCoreInfo != ArrayRef<uint8_t>(baPauth))
579-
ErrAlways(ctx)
579+
Err(ctx)
580580
<< tPointer
581581
<< " Pauth Data mismatch: file contains both GNU properties and "
582582
"AArch64 build attributes sections with different Pauth data";
583583
}
584584
if (baInfo.AndFeatures != gpInfo.andFeatures)
585-
ErrAlways(ctx) << tPointer
586-
<< " Features Data mismatch: file contains both GNU "
587-
"properties and AArch64 build attributes sections with "
588-
"different And Features data";
585+
Err(ctx) << tPointer
586+
<< " Features Data mismatch: file contains both GNU "
587+
"properties and AArch64 build attributes sections with "
588+
"different And Features data";
589589
}
590590

591591
if (hasBA && !hasGP) {

0 commit comments

Comments
 (0)