This is an archive of the discontinued LLVM Phabricator instance.

move GetOrCreateFunctionComdat to Instrumentation.cpp/Instrumentation.h
ClosedPublic

Authored by kcc on Oct 12 2018, 2:26 PM.

Details

Summary

GetOrCreateFunctionComdat is currently used in SanitizerCoverage,
where it's defined. I'm planing to use it in HWASAN as well,
so moving it into a common location.
NFC

Diff Detail

Repository
rL LLVM

Event Timeline

kcc created this revision.Oct 12 2018, 2:26 PM
morehouse accepted this revision.Oct 12 2018, 4:21 PM
morehouse added inline comments.
include/llvm/Transforms/Instrumentation.h
46 ↗(On Diff #169492)

Otherwise

This revision is now accepted and ready to land.Oct 12 2018, 4:21 PM
This revision was automatically updated to reflect the committed changes.