This is an archive of the discontinued LLVM Phabricator instance.

[asan] Delay creation of asan ctor.
AcceptedPublic

Authored by eugenis on Mar 23 2017, 5:35 PM.

Details

Reviewers
kcc
pcc
Summary

Create the constructor in the module pass.
This in needed for the GC-friendly globals change, where the constructor can be
put in a comdat in some cases, but we don't know about that in the function
pass.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Mar 23 2017, 5:35 PM
kcc accepted this revision.Mar 23 2017, 6:07 PM

LGTM

This revision is now accepted and ready to land.Mar 23 2017, 6:07 PM