[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:49:25 PDT 2026


================
@@ -75,10 +100,33 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, int timeout_ms) {
   }
 
   if (!pid) {
+#if defined(LLVM_LIBC_ENABLE_COVERAGE)
+#ifdef LIBC_FULL_BUILD
----------------
michaelrj-google wrote:

```suggestion
#if defined(LLVM_LIBC_ENABLE_COVERAGE) && defined(LIBC_FULL_BUILD)
```

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


More information about the libc-commits mailing list