[PATCH] D115251: [VE] Change error handling of data references

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 08:09:07 PST 2021


kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added a subscriber: hiraditya.
kaz7 requested review of this revision.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115251

Files:
  llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
  llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
  llvm/test/MC/VE/data-reloc-error.s
  llvm/test/MC/VE/data-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115251.392410.patch
Type: text/x-patch
Size: 7493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211207/63d02ee0/attachment.bin>


More information about the llvm-commits mailing list