If we insert them from function pass some analysis may be missing or invalid.
Fixes PR42877.
Details
Details
- Reviewers
- eugenis - leonardchan 
- Commits
- rGb46dd6e92af7: Insert module constructors in a module pass
 rC374527: Insert module constructors in a module pass
 rL374527: Insert module constructors in a module pass
 rG5c72aa232e74: [tsan,msan] Insert module constructors in a module pass
 rL374481: [tsan,msan] Insert module constructors in a module pass
 rC374481: [tsan,msan] Insert module constructors in a module pass
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
nit: static unneeded here