[Webkit-unassigned] [Bug 271055] New: [Xcode] Simplify code coverage builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 07:50:56 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=271055

            Bug ID: 271055
           Summary: [Xcode] Simplify code coverage builds
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org

Simplify code coverage builds when using Xcode.

Instead of specifying a path to Tools/coverage/coverage.xcconfig when building, use the CLANG_COVERAGE_MAPPING=YES Xcode variable to enable code coverage.

This does the exact same thing as the prior contents of coverage.xcconfig, but Xcode "knows" that code coverage is enabled and can make better choices about interactions with other compiler settings.

Note that compiling $WEBKIT_BUILD/Release/DerivedSources/WebCore/InternalSettingsGenerated.cpp with code coverage enables causes clang to hang indefinitely (tracked by <rdar://124640196>), so COMPILER_FLAGS="-fno-profile-instr-generate -fno-coverage-mapping" is set for that one source file until this is fixed.

<rdar://124086420>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240315/414316e5/attachment.htm>


More information about the webkit-unassigned mailing list