Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18597

Add support for dumping ASan code coverage data

    XMLWordPrintableJSON

Details

    • Fully Compatible

    Description

      ASan can be configured to provide code coverage information since at least clang-3.4. quickExit needs to be modified to write the coverage information to disk before exiting.

      Version reference:

      Version CCFLAGS
      3.4 -fsanitize=address -mllvm -asan-coverage=1
      3.5 -fsanitize=address -mllvm -asan-coverage=1
      3.6 -fsanitize=address -fsanitize-coverage=1
      3.7 -fsanitize=address -fsanitize-coverage=func

      Attachments

        Issue Links

          Activity

            People

              kamran.khan Kamran K.
              kamran.khan Kamran K.
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: