Created
June 11, 2018 18:51
-
-
Save artem-smotrakov/54bd586cde7d6a99b69f781835873e23 to your computer and use it in GitHub Desktop.
Clone and build picotls with gcov
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/h2o/picotls | |
cd picotls | |
export CFLAGS="-fprofile-arcs -ftest-coverage -g -O0 -fsanitize=address -fno-omit-frame-pointer" | |
export LDFLAGS="-fsanitize=address" | |
cmake \ | |
-DCMAKE_C_FLAGS="${CFLAGS}" \ | |
-DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \ | |
. | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment