This is an archive of the discontinued LLVM Phabricator instance.

[tsan,msan] Insert module constructors in a module pass
ClosedPublic

Authored by vitalybuka on Oct 10 2019, 1:45 PM.

Diff Detail

Event Timeline

vitalybuka created this revision.Oct 10 2019, 1:45 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 10 2019, 1:45 PM
leonardchan accepted this revision.Oct 10 2019, 3:02 PM

Thanks for finding the root cause of this!

llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
143

nit: static unneeded here

163

nit: ModuleAnalysisManager &MAM

This revision is now accepted and ready to land.Oct 10 2019, 3:02 PM
vitalybuka marked 2 inline comments as done.

nfc

This revision was automatically updated to reflect the committed changes.

Reverted in r374503.