This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

mstorsjo created this revision.Jan 9 2021, 2:32 PM
mstorsjo requested review of this revision.Jan 9 2021, 2:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 9 2021, 2:32 PM
compnerd accepted this revision.Jan 11 2021, 10:21 AM

LGTM; please fix the formatting lint.

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
This revision was automatically updated to reflect the committed changes.