diff options
author | Fangrui Song <maskray@google.com> | 2020-05-11 23:20:33 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-05-12 09:14:03 -0700 |
commit | b56b1e67e38e5f18318b411587a952bc7c586ac4 (patch) | |
tree | 4090f6282723002bb9f8e5dd41c2a76ed10e4067 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 5c10c6e0128a69442b55d324f010f94dbe7eebc9 (diff) | |
download | llvm-b56b1e67e38e5f18318b411587a952bc7c586ac4.zip llvm-b56b1e67e38e5f18318b411587a952bc7c586ac4.tar.gz llvm-b56b1e67e38e5f18318b411587a952bc7c586ac4.tar.bz2 |
[gcov] Default coverage version to '408*' and delete CC1 option -coverage-exit-block-before-body
gcov 4.8 (r189778) moved the exit block from the last to the second.
The .gcda format is compatible with 4.7 but
* decoding libgcov 4.7 produced .gcda with gcov [4.7,8) can mistake the
exit block, emit bogus `%s:'%s' has arcs from exit block\n` warnings,
and print wrong `" returned %s` for branch statistics (-b).
* decoding libgcov 4.8 produced .gcda with gcov 4.7 has similar issues.
Also, rename "return block" to "exit block" because the latter is the
appropriate term.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions