[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass

2019-10-10 Thread Nico Weber via Phabricator via cfe-commits
thakis added a comment. Reverted in r374503. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68832/new/ https://reviews.llvm.org/D68832 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass

2019-10-10 Thread Nico Weber via Phabricator via cfe-commits
thakis added a comment. This fails on Mac and windows http://45.33.8.238/win/247/step_6.txt Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68832/new/ https://reviews.llvm.org/D68832 ___ cfe-commits

[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass

2019-10-10 Thread Vitaly Buka via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG5c72aa232e74: [tsan,msan] Insert module constructors in a module pass (authored by vitalybuka). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68832/new/

[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass

2019-10-10 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka updated this revision to Diff 224501. vitalybuka marked 2 inline comments as done. vitalybuka added a comment. nfc Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68832/new/ https://reviews.llvm.org/D68832 Files:

[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass

2019-10-10 Thread Leonard Chan via Phabricator via cfe-commits
leonardchan accepted this revision. leonardchan added a comment. This revision is now accepted and ready to land. Thanks for finding the root cause of this! Comment at: llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp:143 + +static void insertModuleCtor(Module ) { +

[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass

2019-10-10 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka created this revision. vitalybuka added reviewers: eugenis, leonardchan. Herald added subscribers: llvm-commits, cfe-commits, hiraditya. Herald added projects: clang, LLVM. If we insert them from function pass some analysis may be missing or invalid. Fixes PR42877. Repository: rG