-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing DWARF debug information #15360
Comments
The example uses hardcoded values and only records a single callback: I'd wager that LLVM optimized the callback away and the call with a mere It's also possible the actual line is wrong. A GDB or LLDB debug session might help. |
No |
Here's the debug output from kcov. Seems it registers a breakpoint on line 11, but doesn't consider it a hit?
Throwing in a breakpoint and stepping thru the code via
The one step that points to EDIT: NVM, it was because of the |
Bug Report
https://github.com/SimonKagstrom/kcov uses DWARF debug information to power its code coverage reporting. While viewing the reports more closely I notice that it reports certain things as missed even tho they were most definitely hits. For example with the following code:
Generate the report:
Results in:
The block body and the calling of the proc are reported as missed, even tho you can clearly see
100
in the console output. Usinggetter!
instead of an explicitnot_nil!
makes it correctly report that line as a hit.I think this implies those specific lines are missing debug information?
The text was updated successfully, but these errors were encountered: