Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Transforms/Instrumentation/ThreadSanitizer.cpp | ||
---|---|---|
332 | Is this necessary for something? Or merely a precaution? |
Comment Actions
- Added comment in ThreadSanitizer::runOnFunction explaining that we don't want to instrument module ctor
- Added tests that checks __tsan_init is called from module ctor
Is this necessary for something? Or merely a precaution?
In either case please add a comment as to why this check is here.