-
Notifications
You must be signed in to change notification settings - Fork 201
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
BufferUnderflowException parsing DWARF v5 debug information #443
Comments
Thanks for your comments, @Torbjorn-Svensson. You wrote:
Yes, I assume that the MSYS2 MinGW64 toolchain is released without stripping the run-time libraries.
It might be formally correct, but it seems unhelpful to the majority of CDT users. For small CDT projects, the valid project source files can be difficult to identify among the set of library source files that are not present. Some source files (eg
I will push this patch as-is (no filtering) for now and we can see if there is any feedback from the user community. Users do have the option to strip the run-time libraries themselves. |
A
BufferUnderflowException
is triggered when presenting source files relating to a PE64 executable file in the Project Explorer:The executable contains DWARF v5 debug records generated by MinGW64 gcc:
The issue is caused by the presence of debug information using operand form
DW_FORM_implicit_const
which is not supported by the CDT DWARF parser.The text was updated successfully, but these errors were encountered: