Skip to content

Pass correct linkage_name attribute to DIBuilder #434

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

Merged
merged 14 commits into from
Jun 14, 2021

Conversation

vlad-perevezentsev
Copy link
Contributor

@vlad-perevezentsev vlad-perevezentsev commented Jun 9, 2021

New file created dppy_debuginfo.py with the DPPYDIBuilder class.
DPPYDIBuilder modifies mark_subprogram method and passes correct name to linkage_name attribute.

New ModifiedLower class contains the constructor needed to create an instance of DPPYDIBuilder class.

Tests:

  • IR contains DISubprogram with function linkageName without ID
  • IR contains DICompileUnit with DW_LANG_C_plus_plus
  • IR contains DICompileUnit with producer = numba-dppy

Changes:

  • Removed ModifiedLower. DPPYLower adjusts standard Lower.

Copy link
Contributor

@PokhodenkoSA PokhodenkoSA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added tests and code cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants