The flag "-coverage-function-names-in-data" is actually backwards -- we do
authorNick Lewycky <nicholas@mxc.ca>
Wed, 20 Mar 2013 02:14:38 +0000 (02:14 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 20 Mar 2013 02:14:38 +0000 (02:14 +0000)
commit6f15b290b5f880762b1a9b6b0e68e08a508ae949
tree57a42556db777fd3050f7c3a34f5ccc110c40e06
parent67ff9b6752b8821687895262d137976024e34f36
The flag "-coverage-function-names-in-data" is actually backwards -- we do
emit function names in .gcda files by default, and the flag turns that off!
Rename the flag to make it match what it actually does. This keeps the default
format compatible with gcc 4.2.

Also add a test for this flag.

llvm-svn: 177475
clang/include/clang/Driver/CC1Options.td
clang/include/clang/Frontend/CodeGenOptions.def
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/CodeGen/code-coverage.c