Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a data race and add a CMake TSan option. (#848)
The C++ bit solves a data race reported by TSan, see #847. The CMake bit mimics what exists for ASAN and removes an incorrect `# Enable more ASAN checks` comment. The `IREE_SANITIZER_` are used in core logic to check against mismatches between the IREE runtime and the libraries it loads. https://github.com/iree-org/iree/blob/db129e500f35ead4debc363eb15ebfb929ee512b/runtime/src/iree/hal/local/loaders/system_library_loader.c#L168-L178 Fixes #847 Signed-off-by: Benoit Jacob <[email protected]>
- Loading branch information