This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Add support for relative offset adjustment in interception
ClosedPublic

Authored by etienneb on Jul 21 2016, 2:07 PM.

Details

Summary

Some instructions can only be copied if the relative offset is adjusted.

This patch adds support for two common instruction.
It's quite common to have a indirect load in the prologue
(loading the security cookie).

Diff Detail

Event Timeline

etienneb updated this revision to Diff 64958.Jul 21 2016, 2:07 PM
etienneb retitled this revision from to [compiler-rt] Add support for relative offset adjustment in interception.
etienneb updated this object.
etienneb added a reviewer: rnk.
rnk accepted this revision.Jul 21 2016, 2:09 PM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jul 21 2016, 2:09 PM
etienneb updated this revision to Diff 64960.Jul 21 2016, 2:10 PM
etienneb edited edge metadata.

nits

etienneb closed this revision.Jul 21 2016, 2:16 PM