This is an archive of the discontinued LLVM Phabricator instance.

[esan] Specify which tool via a global variable
ClosedPublic

Authored by bruening on Jun 3 2016, 11:24 AM.

Details

Summary

Adds a global variable to specify the tool, to support handling early
interceptors that invoke instrumented code, thus requiring shadow memory to
be initialized prior to __esan_init() being invoked.

Diff Detail

Repository
rL LLVM

Event Timeline

bruening updated this revision to Diff 59585.Jun 3 2016, 11:24 AM
bruening retitled this revision from to [esan] Specify which tool via a global variable.
bruening updated this object.
bruening added a reviewer: aizatsky.
bruening added subscribers: llvm-commits, eugenis, kcc and 2 others.
aizatsky accepted this revision.Jun 3 2016, 11:44 AM
aizatsky edited edge metadata.
This revision is now accepted and ready to land.Jun 3 2016, 11:44 AM
This revision was automatically updated to reflect the committed changes.