JJulian Lettner[Sanitizer][Darwin] Cleanup MaybeReexec() function and usage
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
compiler-rt: Rename .cc file in lib/tsan/tests/{rtl,unit} to .cpp Like r367463, but for tsan/tests/{rtl,unit}. llvm-svn: 367566 | 6 年前 | |
tsan: rename test Mutex to UserMutex Rename Mutex class in tests to avoid conflicts with sanitizer_common Mutex. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D106547 | 4 年前 | |
tsan: for unittests, change to use test fixtures to clear racy stacks After cd0a5889d71, unittest would run in shard mode where many tests share a single process. Need to clear some global state to make the test results stable. Reviewed By: thetruestblue, rsundahl Differential Revision: https://reviews.llvm.org/D124591 | 4 年前 | |
tsan: for unittests, change to use test fixtures to clear racy stacks After cd0a5889d71, unittest would run in shard mode where many tests share a single process. Need to clear some global state to make the test results stable. Reviewed By: thetruestblue, rsundahl Differential Revision: https://reviews.llvm.org/D124591 | 4 年前 | |
Remove NOLINTs from compiler-rt llvm-svn: 371687 | 6 年前 | |
Update the file headers across all of the LLVM projects in the monorepo to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636 | 7 年前 | |
tsan: for unittests, change to use test fixtures to clear racy stacks After cd0a5889d71, unittest would run in shard mode where many tests share a single process. Need to clear some global state to make the test results stable. Reviewed By: thetruestblue, rsundahl Differential Revision: https://reviews.llvm.org/D124591 | 4 年前 | |
[Sanitizer][Darwin] Cleanup MaybeReexec() function and usage While investigating another issue, I noticed that MaybeReexec() never actually "re-executes via execv()" anymore. DyldNeedsEnvVariable() only returned true on macOS 10.10 and below. Usually, I try to avoid "unnecessary" cleanups (it's hard to be certain that there truly is no fallout), but I decided to do this one because: * I initially tricked myself into thinking that MaybeReexec() was relevant to my original investigation (instead of being dead code). * The deleted code itself is quite complicated. * Over time a few other things were mushed into MaybeReexec(): initializing MonotonicNanoTime(), verifying interceptors are working, and stripping the DYLD_INSERT_LIBRARIES env var to avoid problems when forking. * This platform-specific thing leaked into sanitizer_common.h. * The ReexecDisabled() config nob relies on the "strong overrides weak pattern", which is now problematic and can be completely removed. * ReexecDisabled() actually hid another issue with interceptors not working in unit tests. I added an explicit verify_interceptors (defaults to true) option instead. Differential Revision: https://reviews.llvm.org/D129157 | 3 年前 | |
tsan: for unittests, change to use test fixtures to clear racy stacks After cd0a5889d71, unittest would run in shard mode where many tests share a single process. Need to clear some global state to make the test results stable. Reviewed By: thetruestblue, rsundahl Differential Revision: https://reviews.llvm.org/D124591 | 4 年前 | |
tsan: for unittests, change to use test fixtures to clear racy stacks After cd0a5889d71, unittest would run in shard mode where many tests share a single process. Need to clear some global state to make the test results stable. Reviewed By: thetruestblue, rsundahl Differential Revision: https://reviews.llvm.org/D124591 | 4 年前 | |
tsan: for unittests, change to use test fixtures to clear racy stacks After cd0a5889d71, unittest would run in shard mode where many tests share a single process. Need to clear some global state to make the test results stable. Reviewed By: thetruestblue, rsundahl Differential Revision: https://reviews.llvm.org/D124591 | 4 年前 |