Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2109

swiftc coverage (-profile-generate -profile-coverage-mapping) does not work on linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: Compiler
    • Labels:
    • Environment:

      Description

      Swift source "hello.swift" has been compiled with "-profile-generate -profile-coverage-mapping", and generated executable file "hello".
      It does not produce .profraw file after the program has been executed.

      $ swiftenv global  DEVELOPMENT-SNAPSHOT-2016-06-20-a
      $ ls
      hello.swift
      $ swiftc -o hello -profile-generate -profile-coverage-mapping hello.swift
      $ ./hello
      $ ls
      hello  hello.swift
      

        Attachments

          Activity

            People

            Assignee:
            vedantk Vedant Kumar
            Reporter:
            urugang Rugang Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: