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.
Paths
| Differential D94365
[AArch64] [Windows] Properly add :lo12: reloc specifiers when generating assembly ClosedPublic Authored by mstorsjo on Jan 9 2021, 2:32 PM.
Details Summary 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.
Diff Detail
Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls. · View Herald TranscriptJan 9 2021, 2:32 PM This revision is now accepted and ready to land.Jan 11 2021, 10:21 AM This revision was landed with ongoing or failed builds.Jan 12 2021, 1:59 PM Closed by commit rGd1fa7afc7aef: [AArch64] [Windows] Properly add :lo12: reloc specifiers when generating… (authored by mstorsjo). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 316231 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
|