[PATCH] D94365: [AArch64] [Windows] Properly add :lo12: reloc specifiers when generating assembly

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 9 14:32:17 PST 2021


mstorsjo created this revision.
mstorsjo added reviewers: rnk, efriedma, compnerd, smeenai.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

This makes sure that assembly output actually can be assembled.

Set the correct MCExpr relocations specifier VK_PAGEOFF - and also set VK_PAGE consistently even though it's not visible in the assembly output.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94365

Files:
  llvm/lib/Target/AArch64/AArch64MCInstLower.cpp
  llvm/test/CodeGen/AArch64/cfguard-checks.ll
  llvm/test/CodeGen/AArch64/dllimport.ll
  llvm/test/CodeGen/AArch64/mingw-refptr.ll
  llvm/test/CodeGen/AArch64/stack-protector-target.ll
  llvm/test/CodeGen/AArch64/win-tls.ll
  llvm/test/CodeGen/AArch64/win_cst_pool.ll
  llvm/test/CodeGen/AArch64/windows-extern-weak.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94365.315637.patch
Type: text/x-patch
Size: 9390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210109/64924934/attachment.bin>


More information about the llvm-commits mailing list