Skip to content

Commit 9bf289e

Browse files
authored
Fix grammar issues in devdocs/sanitizers.md (#43600)
1 parent b4b75f0 commit 9bf289e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/devdocs/sanitizers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
## General considerations
44

5-
Using Clang's sanitizers obviously require you to use Clang (`USECLANG=1`), but there's another
5+
Using Clang's sanitizers obviously requires you to use Clang (`USECLANG=1`), but there's another
66
catch: most sanitizers require a run-time library, provided by the host compiler, while the instrumented
77
code generated by Julia's JIT relies on functionality from that library. This implies that the
8-
LLVM version of your host compiler matches that of the LLVM library used within Julia.
8+
LLVM version of your host compiler must match that of the LLVM library used within Julia.
99

10-
An easy solution is to have an dedicated build folder for providing a matching toolchain, by building
10+
An easy solution is to have a dedicated build folder for providing a matching toolchain, by building
1111
with `BUILD_LLVM_CLANG=1`. You can then refer to this toolchain from another build
1212
folder by specifying `USECLANG=1` while overriding the `CC` and `CXX` variables.
1313

@@ -39,7 +39,7 @@ For detecting or debugging memory bugs, you can use Clang's [address sanitizer (
3939
By compiling with `SANITIZE_ADDRESS=1` you enable ASAN for the Julia compiler and its generated code.
4040
In addition, you can specify `LLVM_SANITIZE=1` to sanitize the LLVM library as well. Note that
4141
these options incur a high performance and memory cost. For example, using ASAN for Julia and
42-
LLVM makes `testall1` takes 8-10 times as long while using 20 times as much memory (this can be
42+
LLVM makes `testall1` take 8-10 times as long while using 20 times as much memory (this can be
4343
reduced to respectively a factor of 3 and 4 by using the options described below).
4444

4545
By default, Julia sets the `allow_user_segv_handler=1` ASAN flag, which is required for signal

0 commit comments

Comments
 (0)