[PATCH] D49915: [IR] Add a boolean field in DILocation to know if a line must covered or not
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 31 17:22:36 PDT 2018
rnk added a comment.
I agree, this patch needs serialization through bitcode and IR before it can land.
DILocation isn't only used for coverage, I think this should probably be a more general purpose flag, like "isImplicitCode", to indicate that the code was generated as part of a destructor cleanup, an epilogue, or something else that requires the compiler to generate IR that isn't obviously attributed to user source code. Then GCOV can decide for itself how it wants to generate coverage.
Repository:
rL LLVM
https://reviews.llvm.org/D49915
More information about the llvm-commits
mailing list