diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-02-25 00:54:36 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-02-25 00:54:36 +0100 |
commit | dc07e4bf7f4628852eee26b114348498caad0182 (patch) | |
tree | 597cce2a6e81a13a959b1beae2508b761ef04773 /README.md | |
parent | i suppose parsing json is easyer with cjson than lejp (: (diff) | |
download | discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.gz discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.bz2 discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.lz discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.xz discord.c-dc07e4bf7f4628852eee26b114348498caad0182.tar.zst discord.c-dc07e4bf7f4628852eee26b114348498caad0182.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,3 +93,4 @@ it would be useful to have an android port, and luckily this is possible with li * `make -e CC=gcc` to choose a compiler instead of `cc`. * `make -e CC="clang -fsanitize=address" && ASAN_OPTIONS=detect_leaks=1` to use `clang` leak checker * `scan-build make` to staticly analyze build with `clang` (`clang-tools` package required). `gcc`'s `-fanalyze` can't be used without many false positives, because the code is not written so pedantically (without `__attribute__`s on function arguments, return values, ...). +* `make -e CC="cc -pg"` can be used to generate a gprof binary (gcc/clang only, tcc has no support). After running the produced executable, run `gprof discord.c gmon.out > analysis.txt` for report. |