This is an archive of the discontinued LLVM Phabricator instance.

[PGO] Create weak alias for the renamed Comdat function
ClosedPublic

Authored by xur on Oct 6 2016, 11:45 AM.

Details

Summary

Add a weak alias to the renamed Comdat function in IR level instrumentation, using it's original name. This ensures the same behavior w/ and w/o IR instrumentation, even for non standard conforming code.

Diff Detail

Repository
rL LLVM

Event Timeline

xur updated this revision to Diff 73827.Oct 6 2016, 11:45 AM
xur retitled this revision from to [PGO] Create weak alias for the renamed Comdat function.
xur updated this object.
xur added a reviewer: davidxl.
xur added a subscriber: llvm-commits.
davidxl accepted this revision.Oct 6 2016, 1:40 PM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.Oct 6 2016, 1:40 PM
This revision was automatically updated to reflect the committed changes.