[all-commits] [llvm/llvm-project] b1ebfa: [readobj][Arm][AArch64] Refactor Build Attributes ...

SivanShani-Arm via All-commits all-commits at lists.llvm.org
Mon Mar 10 02:49:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1ebfac1859c4fd1db3620098f6af4fd98e6174d
      https://github.com/llvm/llvm-project/commit/b1ebfac1859c4fd1db3620098f6af4fd98e6174d
  Author: SivanShani-Arm <sivan.shani at arm.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h
    A llvm/include/llvm/Support/AArch64AttributeParser.h
    M llvm/include/llvm/Support/AArch64BuildAttributes.h
    M llvm/include/llvm/Support/ARMAttributeParser.h
    M llvm/include/llvm/Support/CSKYAttributeParser.h
    A llvm/include/llvm/Support/ELFAttrParserCompact.h
    A llvm/include/llvm/Support/ELFAttrParserExtended.h
    M llvm/include/llvm/Support/ELFAttributeParser.h
    M llvm/include/llvm/Support/ELFAttributes.h
    M llvm/include/llvm/Support/HexagonAttributeParser.h
    M llvm/include/llvm/Support/MSP430AttributeParser.h
    M llvm/include/llvm/Support/RISCVAttributeParser.h
    A llvm/lib/Support/AArch64AttributeParser.cpp
    M llvm/lib/Support/AArch64BuildAttributes.cpp
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/CSKYAttributeParser.cpp
    A llvm/lib/Support/ELFAttrParserCompact.cpp
    A llvm/lib/Support/ELFAttrParserExtended.cpp
    R llvm/lib/Support/ELFAttributeParser.cpp
    M llvm/lib/Support/HexagonAttributeParser.cpp
    M llvm/lib/Support/RISCVAttributeParser.cpp
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
    A llvm/test/tools/llvm-readobj/ELF/AArch64/build-attributes-comprehensive.s
    M llvm/tools/llvm-readobj/ELFDumper.cpp
    M llvm/unittests/Support/ARMAttributeParser.cpp
    M llvm/unittests/Support/CSKYAttributeParserTest.cpp
    M llvm/unittests/Support/ELFAttributeParserTest.cpp
    M llvm/unittests/Support/RISCVAttributeParserTest.cpp

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list