Skip to content
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

Go: Add BasicBlock.getLocation #18805

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Feb 17, 2025

This PR adds BasicBlock.getLocation. In order to create synthetic location entities for basic blocks, care must be taken to not add a dependency on the data flow layer, since data flow nodes also synthesize locations. The solution is to create separate class layers for (1) DB locations only, (2) DB or basic block locations, and (3) DB, or basic block, or data flow node locations.

@github-actions github-actions bot added the Go label Feb 17, 2025
@hvitved hvitved force-pushed the go/basic-block-location branch 3 times, most recently from 4101601 to ce267e9 Compare February 17, 2025 19:46
@hvitved hvitved force-pushed the go/basic-block-location branch from ce267e9 to f72e1f6 Compare February 17, 2025 20:03
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Feb 18, 2025
@hvitved hvitved marked this pull request as ready for review February 18, 2025 08:35
@Copilot Copilot bot review requested due to automatic review settings February 18, 2025 08:35
@hvitved hvitved requested a review from a team as a code owner February 18, 2025 08:35

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant