[llvm-bugs] [Bug 48264] llvm-cov: wrong code coverage for statements before fork()
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 16 18:47:17 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48264
David Blaikie <dblaikie at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dblaikie at gmail.com
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from David Blaikie <dblaikie at gmail.com> ---
That sounds correct to me - the program forked, so two processes reached those
two lines. lldb probably only follows one of those processes.
Try adding a printf/output between line 9 and 10, and you'll see it prints out
twice.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201217/e9901252/attachment-0001.html>
More information about the llvm-bugs
mailing list