[PATCH] D88625: MCExpr::evaluateAsRelocatableImpl : allow evaluation of non-VK_None MCSymbolRefExpr when MCAsmLayout is available

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 16:19:43 PST 2020


MaskRay updated this revision to Diff 302429.
MaskRay retitled this revision from "[MC] Redirect fixup symbol to the aliasee (if undefined)" to "MCExpr::evaluateAsRelocatableImpl : allow evaluation of non-VK_None MCSymbolRefExpr when MCAsmLayout is available".
MaskRay edited the summary of this revision.
MaskRay added a comment.

Change MCExpr::evaluateAsRelocatableImpl instead. This works for MCBinaryExpr automatically


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88625/new/

https://reviews.llvm.org/D88625

Files:
  llvm/lib/MC/MCExpr.cpp
  llvm/test/MC/ARM/ehabi-personality-abs.s
  llvm/test/MC/ELF/relocation-alias.s
  llvm/test/MC/ELF/relocation.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88625.302429.patch
Type: text/x-patch
Size: 4159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/f0466f05/attachment.bin>


More information about the llvm-commits mailing list