@@ -717,14 +717,23 @@ template <class ELFT> void ObjFile<ELFT>::parse(bool ignoreComdats) {
717717 Warn (ctx) << &isec << " : " << std::move (e);
718718 } else {
719719 if (!hasGnuProperties) {
720- KnownAArch64BuildAttrSubsections subSections = extractBuildAttributesSubsections (attributes);
721- auto serializeUnsigned = [&](unsigned value, size_t offset, bool isBE) {
720+ KnownAArch64BuildAttrSubsections subSections =
721+ extractBuildAttributesSubsections (attributes);
722+ auto serializeUnsigned = [&](unsigned value, size_t offset,
723+ bool isBE) {
722724 for (size_t i = 0 ; i < 8 ; ++i) {
723- this ->aarch64PauthAbiCoreInfoStorage [i + offset] = static_cast <uint8_t >((static_cast <uint64_t >(value) >> (8 * (isBE ? (7 - i): i))) & 0xFF ); };
725+ this ->aarch64PauthAbiCoreInfoStorage [i + offset] =
726+ static_cast <uint8_t >((static_cast <uint64_t >(value) >>
727+ (8 * (isBE ? (7 - i) : i))) &
728+ 0xFF );
729+ };
724730 };
725- serializeUnsigned (subSections.pauth .tagPlatform , 0 , ELFT::Endianness == llvm::endianness::big);
726- serializeUnsigned (subSections.pauth .tagSchema , 8 , ELFT::Endianness == llvm::endianness::big);
727- this ->aarch64PauthAbiCoreInfo = this ->aarch64PauthAbiCoreInfoStorage ;
731+ serializeUnsigned (subSections.pauth .tagPlatform , 0 ,
732+ ELFT::Endianness == llvm::endianness::big);
733+ serializeUnsigned (subSections.pauth .tagSchema , 8 ,
734+ ELFT::Endianness == llvm::endianness::big);
735+ this ->aarch64PauthAbiCoreInfo =
736+ this ->aarch64PauthAbiCoreInfoStorage ;
728737
729738 this ->andFeatures = 0 ;
730739 this ->andFeatures |= (subSections.fAndB .tagBTI ) << 0 ;
0 commit comments