This is an archive of the discontinued LLVM Phabricator instance.

[xray] Avoid text relocations in trampolines for ARM/AArch64
ClosedPublic

Authored by ianlevesque on Apr 21 2020, 3:39 PM.

Details

Summary

Switch to pc-relative lookup of the xray handler function to avoid text relocations.

Diff Detail

Event Timeline

ianlevesque created this revision.Apr 21 2020, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2020, 3:39 PM
Herald added subscribers: Restricted Project, danielkiss, kristof.beyls. · View Herald Transcript

I'll defer to @MaskRay on the ARM bits.

MaskRay accepted this revision.Apr 21 2020, 8:01 PM

Thanks!

This revision is now accepted and ready to land.Apr 21 2020, 8:01 PM
This revision was automatically updated to reflect the committed changes.