<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54806>54806</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            llvm-cov is unable to only generate coverage for source files in given directories
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            missing-feature,
            tools:llvm-cov
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ZequanWu
      </td>
    </tr>
</table>

<pre>
    We want to generate coverage report using `llvm-show` only for given directories. llvm-cov has the flag `--ignore-filename-regex=` to ignore source files that matches the regex, but it doesn't support negative lookahead (e.g. we only want coverage report for source files recursively inside folder1 `(?!folder1)`). 
I think we should add a flag for this unless there is another way to solve it.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlks-OmzAQxp_GXEYgYkMIBw7bRiv1CVbqzeAJeNfYqf8kzdt3DNtWbQ7IY4_nm-83ZnTqMbwh3KWNEB3MaNHLiDC5GwUzgser8xFS0HYGdqyNua1lWNydYnDWPODiPMz6hhaU9jhF5zWGCraLJAOLDBAXhIuRm0JZ6tk6j-VFG7RyxdLjjD-ZOGdJMrGnIbjkJyqjW1lARlhlnBbc1fYa_hXGFEFHUA6DZbyLENJ1s2xxlpF8gXHuQy4oFTB-wmqu4I679Q37f9TM809vgko-kBJVaBu0ooQzCv0h45AmE6-MHz7PGO-3074CVp9Z_fKN_Gr7kZvS3JJRIBV9-zxyM0oHSJZabWiETntpXY7J4iPPJDhDJDpWhRqE6kUvi6ijweHPmDcNORrM1ze658d8QtP2-emK5M2wxHgNTLwwTmivs45LGqvJrbTJHT-X8urdO9XRVoeQMFDQNqf6WCzDdFD81FwEP9YHoWoh-45PomtGVO2IzVQYOaIJA2u_MM5Xqqc_rLygjMkjneS3pSU6Z7KR35w5054LPfCa87qpOy6arj5Wk-RN23IxqW7sLwJZU-MqtalyYeX8XPh9VmOaAyWNDjH8TUpqP1vEzQ7pyxQX54fv-CNJ-5aKDW_Y2H4BC1kXBg">