This is an archive of the discontinued LLVM Phabricator instance.

asan: allow inline instrumentation for the kernel
ClosedPublic

Authored by andreyknvl on Jan 22 2018, 10:35 AM.

Details

Summary

Currently ASan instrumentation pass forces callback instrumentation when applied to the kernel. This patch changes the current behavior to allow using inline instrumentation in this case.

Diff Detail

Event Timeline

andreyknvl created this revision.Jan 22 2018, 10:35 AM
dvyukov accepted this revision.Jan 22 2018, 10:40 AM
This revision is now accepted and ready to land.Jan 22 2018, 10:40 AM
dvyukov closed this revision.Jan 22 2018, 11:08 AM

Committed in r323140.

vsk added a subscriber: vsk.Jan 23 2018, 11:45 AM

@andreyknvl could you please add a test for this?