xref: /netbsd-src/external/gpl3/gcc/dist/libsanitizer/README.gcc (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1181254a7SmrgAddressSanitizer and ThreadSanitizer (https://github.com/google/sanitizers) are
248fb7bfaSmrgprojects initially developed by Google Inc.
3181254a7Smrg
448fb7bfaSmrgBoth tools consist of a compiler module and a run-time library.
548fb7bfaSmrgThe sources of the run-time library for these projects are hosted at
6*b1e83836Smrghttps://github.com/llvm/llvm-project in the following directories:
7*b1e83836Smrg  compiler-rt/include/sanitizer
8*b1e83836Smrg  compiler-rt/lib/sanitizer_common
9*b1e83836Smrg  compiler-rt/lib/interception
10*b1e83836Smrg  compiler-rt/lib/asan
11*b1e83836Smrg  compiler-rt/lib/tsan
12*b1e83836Smrg  compiler-rt/lib/lsan
13*b1e83836Smrg  compiler-rt/lib/ubsan
14*b1e83836Smrg  compiler-rt/lib/hwasan
1548fb7bfaSmrg
1648fb7bfaSmrgTrivial and urgent fixes (portability, build fixes, etc.) may go directly to the
1748fb7bfaSmrgGCC tree.  All non-trivial changes, functionality improvements, etc. should go
1848fb7bfaSmrgthrough the upstream tree first and then be merged back to the GCC tree.
1948fb7bfaSmrgThe merges from upstream should be done with the aid of the merge.sh script;
2048fb7bfaSmrgit will also update the file MERGE to contain the upstream revision
2148fb7bfaSmrgwe merged with.
22