Merge pull request #8025 from excitoon/patch-2

Added `-D LINKER_NAME=lld` to instruction to sanitizers.
This commit is contained in:
alexey-milovidov 2019-12-09 04:56:17 +03:00 committed by GitHub
commit 79215bd029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ Note: We use Address Sanitizer to run functional tests for every commit automati
mkdir build_asan && cd build_asan mkdir build_asan && cd build_asan
``` ```
Note: using clang instead of gcc is strongly recommended. Note: using clang instead of gcc is strongly recommended. Make sure you have installed required packages (`clang`, `lld`). It may be required to specify non-standard `lld` binary using `LINKER_NAME` option (e.g. `-D LINKER_NAME=lld-8`).
``` ```
CC=clang CXX=clang++ cmake -D SANITIZE=address .. CC=clang CXX=clang++ cmake -D SANITIZE=address ..