Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers authored Jan 5, 2025
1 parent 24e4e25 commit 3477c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ cd ..
here](https://stackoverflow.com/questions/64126942/malloc-nano-zone-abandoned-due-to-inability-to-preallocate-reserved-vm-space),
this happens for any program compiled with thread sanitizer on MacOS and can
be safely ignored by setting the `MallocNanoZone` environment variable to
0\. You should only set this in session you are running thread sanitizer
0. You should only set this in session you are running thread sanitizer
under, as this setting will slow down other programs that allocate memory.

### Compile NumPy with TSAN
Expand All @@ -351,7 +351,7 @@ python -m pip install -U git+https://github.com/cython/cython
- Build the package

```bash
CC=clang-18 CXX=clang++-18 python -m pip install -v . --no-build-isolation -C'setup-args=-Db_sanitize=thread
CC=clang-18 CXX=clang++-18 python -m pip install -v . --no-build-isolation -Csetup-args=-Db_sanitize=thread
```

### Useful TSAN options
Expand Down

0 comments on commit 3477c34

Please sign in to comment.