[all-commits] [llvm/llvm-project] 581ba3: [RISCV] ELF attribute section for RISC-V.

Kai Wang via All-commits all-commits at lists.llvm.org
Tue Mar 31 01:16:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 581ba35291a658cd01e2cb39f6d415cac89a7656
      https://github.com/llvm/llvm-project/commit/581ba35291a658cd01e2cb39f6d415cac89a7656
  Author: Kai Wang <kai.wang at sifive.com>
  Date:   2020-03-31 (Tue, 31 Mar 2020)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/include/llvm/Support/ARMAttributeParser.h
    M llvm/include/llvm/Support/ARMBuildAttributes.h
    A llvm/include/llvm/Support/ELFAttributeParser.h
    A llvm/include/llvm/Support/ELFAttributes.h
    A llvm/include/llvm/Support/RISCVAttributeParser.h
    A llvm/include/llvm/Support/RISCVAttributes.h
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/Object/ELFObjectFile.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/Support/ARMAttributeParser.cpp
    M llvm/lib/Support/ARMBuildAttrs.cpp
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/ELFAttributeParser.cpp
    A llvm/lib/Support/ELFAttributes.cpp
    A llvm/lib/Support/RISCVAttributeParser.cpp
    A llvm/lib/Support/RISCVAttributes.cpp
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    A llvm/test/CodeGen/RISCV/attributes.ll
    A llvm/test/MC/RISCV/attribute-arch.s
    A llvm/test/MC/RISCV/attribute-with-insts.s
    A llvm/test/MC/RISCV/attribute.s
    A llvm/test/MC/RISCV/invalid-attribute.s
    A llvm/test/tools/llvm-objdump/RISCV/lit.local.cfg
    A llvm/test/tools/llvm-objdump/RISCV/unknown-arch-attr.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp
    M llvm/unittests/Support/ARMAttributeParser.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/ELFAttributeParserTest.cpp
    A llvm/unittests/Support/RISCVAttributeParserTest.cpp

  Log Message:
  -----------
  [RISCV] ELF attribute section for RISC-V.

Leverage ARM ELF build attribute section to create ELF attribute section
for RISC-V. Extract the common part of parsing logic for this section
into ELFAttributeParser.[cpp|h] and ELFAttributes.[cpp|h].

Differential Revision: https://reviews.llvm.org/D74023




More information about the All-commits mailing list