[all-commits] [llvm/llvm-project] e026f1: [VE] Support relocation information in MC layer

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Jun 15 02:25:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e026f147f7b412aec4511b5b00757671ee95a219
      https://github.com/llvm/llvm-project/commit/e026f147f7b412aec4511b5b00757671ee95a219
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
    M llvm/lib/Target/VE/Disassembler/VEDisassembler.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEFixupKinds.h
    M llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.h
    M llvm/lib/Target/VE/VEInstrInfo.td
    A llvm/test/CodeGen/VE/symbol_relocation.ll
    A llvm/test/CodeGen/VE/symbol_relocation_tls.ll
    A llvm/test/MC/VE/sym-got.s
    A llvm/test/MC/VE/sym-gotoff.s
    A llvm/test/MC/VE/sym-tls.s
    A llvm/test/MC/VE/sym-tpoff.s
    A llvm/test/MC/VE/symbols.s

  Log Message:
  -----------
  [VE] Support relocation information in MC layer

Summary:
Change VEAsmParser to support identification with relocation information
in assmebler.  Change VEAsmBackend to support relocation information in
MC layer.  Change VEDisassembler and VEMCCodeEmitter to support binary
generation of branch target operands.  Add REFLONG fixup and variant kind
to support new R_VE_REFLONG ELF symbol.  And, add regression test in both
MC and CodeGen to check binary genaration with relocation information.

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




More information about the All-commits mailing list