[libc-commits] [libc] [libc] Enabling code coverage via Linux syscalls (PR #213271)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Aug 25 13:54:46 PDT 2026


================
@@ -91,6 +91,33 @@ endif()
 set(LIBC_LINK_OPTIONS_DEFAULT "" CACHE STRING "Arguments used when linking.")
 set(LIBC_TEST_LINK_OPTIONS_DEFAULT "" CACHE STRING "Common link options for all the tests.")
 
+option(LLVM_LIBC_ENABLE_COVERAGE "Build libc with coverage instrumentation" OFF)
----------------
michaelrj-google wrote:

nit:
```suggestion
option(LIBC_ENABLE_COVERAGE "Build libc with coverage instrumentation" OFF)
```

https://github.com/llvm/llvm-project/pull/213271


More information about the libc-commits mailing list