[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2020-04-10 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk updated this revision to Diff 256556. tuktuk added a comment. I forgot to apply //clang-format// on //clang/lib/Driver/SanitizerArgs.cpp//, now it should be OK. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63616/new/

[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2020-04-10 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk updated this revision to Diff 256546. tuktuk added a comment. I was indeed able to run the test again after changing its name to //.cpp//, thank you for your help. I have restored XFAIL lines from the original //sanitizer_coverage_no_prune.cpp// that I should not have deleted. Now the

[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2020-04-04 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk updated this revision to Diff 255032. tuktuk added a comment. Thank you for your interest in this feature! It is unfortunate indeed that the patch was not merged when accepted, so here is an update that matches the current status of the code base. Dear reviewers, can you please make

[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2019-06-28 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk added a comment. Thanks for the reviews. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63616/new/ https://reviews.llvm.org/D63616 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2019-06-28 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk updated this revision to Diff 207086. tuktuk edited the summary of this revision. tuktuk added a comment. I followed Matt Morehouse's advice: mainly, I adapted the test so that it uses libFuzzer's default SanitizerCoverage options instead of `trace-pc`, and I rewrote some parts of the

[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2019-06-21 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk updated this revision to Diff 206006. tuktuk added a comment. Herald added subscribers: Sanitizers, kubamracek, srhines. I followed Roman Lebedev's advice and adapted the `sanitizer_coverage_no_prune.cc` test to create a `sanitizer_coverage_whitelist_blacklist.cc` test under `make

[PATCH] D63616: Implement `-fsanitize-coverage-whitelist` and `-fsanitize-coverage-blacklist` for clang

2019-06-20 Thread Yannis Juglaret via Phabricator via cfe-commits
tuktuk created this revision. tuktuk added reviewers: kcc, morehouse. tuktuk added projects: clang, Sanitizers. Herald added subscribers: llvm-commits, cfe-commits, hiraditya. Herald added a project: LLVM. This commit adds two command-line options to clang. These options let the user decide which