This is an archive of the discontinued LLVM Phabricator instance.

[profile] Move RuntimeCounterRelocation and ProfileDumped into a separate file
ClosedPublic

Authored by phosek on Mar 24 2020, 8:17 PM.

Details

Summary

This avoids the test failure that was introduced in rG32bddad where
this function pulls in the rest of InstrProfilingFile.c which is
undesirable in use cases when profile runtime is being used without
the rest of libc.

This also allows additional cleanup by eliminating another variable
from platforms that don't need it.

Diff Detail

Event Timeline

phosek created this revision.Mar 24 2020, 8:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2020, 8:17 PM
Herald added subscribers: Restricted Project, mgorny. · View Herald Transcript
This revision is now accepted and ready to land.Mar 24 2020, 8:22 PM
This revision was automatically updated to reflect the committed changes.