This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][COFF][x86_64] Stub SECREL relocation to external symbol.
ClosedPublic

Authored by sunho on Jul 24 2022, 7:03 PM.

Details

Summary

Stubs SECREL relocation to external symbol. In order to correctly deal with this, we want to requrest memory manager to keep track of address of first block of sepecific section and keep address to be only increased from that point. We also should give jitlink to get information about global section. The relocation is only used for debug and tls info which we don't support yet anyways, so just stubbing it for now.

Diff Detail

Event Timeline

sunho created this revision.Jul 24 2022, 7:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2022, 7:03 PM
sunho requested review of this revision.Jul 24 2022, 7:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2022, 7:03 PM
lhames accepted this revision.Jul 25 2022, 5:25 PM

LGTM.

This revision is now accepted and ready to land.Jul 25 2022, 5:25 PM
This revision was landed with ongoing or failed builds.Aug 10 2022, 11:13 PM
This revision was automatically updated to reflect the committed changes.