[libcxx-commits] [PATCH] D116050: [libc++] Disable coverage with sanitize-coverage=0

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 21 09:37:19 PST 2021


MaskRay added subscribers: phosek, MaskRay.
MaskRay added a comment.

`-fsanitize-coverage` was introduced in D31639 <https://reviews.llvm.org/D31639> (CC @phosek).

At a glance, the intention might to catch layering issue (libc++abi is very low, a runtime library using libc++abi used by libc++abi may be problematic). For many -fsanitize-coverage=, AIUI the `__sanitizer_cov_*` hooks are provided by the user. If the user hooks use C++, the layering may be weird.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116050/new/

https://reviews.llvm.org/D116050



More information about the libcxx-commits mailing list