This is an archive of the discontinued LLVM Phabricator instance.

Move EntryExitInstrumentation pass location
ClosedPublic

Authored by aeubanks on Feb 26 2021, 8:25 PM.

Details

Summary

This seems to be more of a Clang thing rather than a generic LLVM thing,
so this moves it out of LLVM pipelines and as Clang extension hooks into
LLVM pipelines.

Move the post-inline EEInstrumentation out of the backend pipeline and
into a late pass, similar to other sanitizer passes. It doesn't fit
into the codegen pipeline.

Also fix up EntryExitInstrumentation not running at -O0 under the new
PM. PR49143

Diff Detail

Event Timeline

aeubanks created this revision.Feb 26 2021, 8:25 PM
aeubanks requested review of this revision.Feb 26 2021, 8:25 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 26 2021, 8:25 PM
hans accepted this revision.Mar 1 2021, 4:24 AM
This revision is now accepted and ready to land.Mar 1 2021, 4:24 AM
aeubanks updated this revision to Diff 327164.Mar 1 2021, 10:06 AM

missed non-x86 tests

This revision was landed with ongoing or failed builds.Mar 1 2021, 10:08 AM
This revision was automatically updated to reflect the committed changes.