[all-commits] [llvm/llvm-project] e71fa0: [VE] Change error handling of data references

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Wed Dec 8 04:07:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e71fa0336f91ff7d55e3b41c1afa15019a214ef9
      https://github.com/llvm/llvm-project/commit/e71fa0336f91ff7d55e3b41c1afa15019a214ef9
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
    M llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
    A llvm/test/MC/VE/data-reloc-error.s
    A llvm/test/MC/VE/data-reloc.s

  Log Message:
  -----------
  [VE] Change error handling of data references

Change to use Ctx.reportError() instead of llvm_unreachable for
better error handling.  Also correct evaluateAsRelocatableImpl().

Reviewed By: simoll

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




More information about the All-commits mailing list