LLVM/project b1ebfacllvm/include/llvm/Object ELFObjectFile.h, llvm/include/llvm/Support ELFAttrParserCompact.h ELFAttributeParser.h

[readobj][Arm][AArch64] Refactor Build Attributes parsing under ELFAtributeParser and add support for AArch64 Build Attributes (#128727)

Refactor readobj to integrate AArch64 Build Attributes under
ELFAttributeParser. ELFAttributeParser now serves as a base class for:
- ELFCompactAttrParser, handling Arm-style attributes with a single
build attribute subsection.
- ELFExtendedAttrParser, handling AArch64-style attributes with multiple
build attribute subsections. This improves code organization and better
aligns with the attribute parsing model.

Add support for parsing AArch64 Build Attributes.
DeltaFile
+238-0llvm/lib/Support/ELFAttrParserCompact.cpp
+0-235llvm/lib/Support/ELFAttributeParser.cpp
+187-0llvm/lib/Support/ELFAttrParserExtended.cpp
+92-0llvm/include/llvm/Support/ELFAttrParserCompact.h
+44-42llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+81-0llvm/test/tools/llvm-readobj/ELF/AArch64/build-attributes-comprehensive.s
+18-53llvm/include/llvm/Support/ELFAttributeParser.h
+35-28llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+56-0llvm/include/llvm/Support/ELFAttrParserExtended.h
+26-25llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
+29-0llvm/include/llvm/Support/ELFAttributes.h
+29-0llvm/include/llvm/Support/AArch64AttributeParser.h
+13-13llvm/lib/Support/AArch64BuildAttributes.cpp
+21-0llvm/lib/Support/AArch64AttributeParser.cpp
+7-7llvm/lib/Support/HexagonAttributeParser.cpp
+6-6llvm/include/llvm/Support/HexagonAttributeParser.h
+5-5llvm/lib/Support/CSKYAttributeParser.cpp
+5-5llvm/include/llvm/Support/MSP430AttributeParser.h
+5-4llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
+5-4llvm/include/llvm/Support/RISCVAttributeParser.h
+5-4llvm/include/llvm/Support/ARMAttributeParser.h
+4-4llvm/include/llvm/Support/CSKYAttributeParser.h
+4-4llvm/unittests/Support/ELFAttributeParserTest.cpp
+4-4llvm/lib/Support/RISCVAttributeParser.cpp
+7-0llvm/tools/llvm-readobj/ELFDumper.cpp
+3-3llvm/include/llvm/Support/AArch64BuildAttributes.h
+3-1llvm/lib/Support/CMakeLists.txt
+2-2llvm/unittests/Support/CSKYAttributeParserTest.cpp
+2-2llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
+3-0llvm/include/llvm/Object/ELFObjectFile.h
+1-1llvm/unittests/Support/ARMAttributeParser.cpp
+1-1llvm/unittests/Support/RISCVAttributeParserTest.cpp
+941-45332 files

UnifiedSplitRaw