build-webkit --coverage and build-jsc --coverage fail because there are too many coverage support options that do not seem to have been updated in a few years. The only ones that are necessary to generate coverage code are GCC_GENERATE_TEST_COVERAGE_FILES=YES and GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES. Xcode takes care of the rest. #ifdef COVERAGE does not appear in the code. I'm not sure what the -MD flag does, but it causes webkit to not compile.
Created attachment 204345 [details]
Comment on attachment 204345 [details]
Clearing flags on attachment: 204345
Committed r151461: <http://trac.webkit.org/changeset/151461>
All reviewed patches have been landed. Closing bug.
> I'm not sure what the -MD flag does
Looks like a gcc option,
-MD is equivalent to -M -MF file, except that -E is not implied. The driver determines file based on whether an -o option is given. If it is, the driver uses its argument but with a suffix of .d, otherwise it take the basename of the input file and applies a .d suffix.
If -MD is used in conjunction with -E, any -o switch is understood to specify the dependency output file (but see -MF), but if used without -E, each -o is understood to specify a target object file.
Since -E is not implied, -MD can be used to generate a dependency output file as a side-effect of the compilation process.