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

Add support for dumping ASan code coverage data

    • Fully Compatible

      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

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

              Created:
              Updated:
              Resolved: