[cfe-commits] patch: add a cc1 flag -coverage-dir=...
Douglas Gregor
dgregor at apple.com
Wed May 4 10:03:30 PDT 2011
On May 3, 2011, at 9:06 PM, Nick Lewycky wrote:
> The attached patch determines what path prefix gcc would use for gcov
> coverage data files and puts is in a cc1 flag -coverage-dir which is
> threaded into codegen who finally plops it in a metadata node.
>
> The point of putting it in metadata is to allow us to produce a .bc
> file and still get the same behaviour as when we go straight to .o
> file, and this also will work when we merge .bc files and then run the
> -insert-gcov-profiling pass.
>
> It's a small patch. Please review!
LGTM!
- Doug
More information about the cfe-commits
mailing list