Skip to content

[SYCL][sycl-post-link] Make GroupId a string to avoid dead references #8499

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 2 commits into from
Mar 3, 2023

Conversation

steffenlarsen
Copy link
Contributor

In certain cases the EntryPointGroup may outlive the string reference passed in its specified name, in which case its GroupId member dies prematurely. This can cause uses of the dead string reference. To avoid this, this commit makes the GroupId member into a copy of the passed string instead of a reference.

In certain cases the EntryPointGroup may outlive the string reference
passed in its specified name, in which case its GroupId member dies
prematurely. This can cause uses of the dead string reference. To avoid
this, this commit makes the GroupId member into a copy of the passed
string instead of a reference.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner March 1, 2023 11:58
@steffenlarsen steffenlarsen temporarily deployed to aws March 1, 2023 16:54 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 2, 2023 17:54 — with GitHub Actions Inactive
@AlexeySachkov AlexeySachkov merged commit 9958509 into intel:sycl Mar 3, 2023
@steffenlarsen steffenlarsen temporarily deployed to aws March 4, 2023 12:24 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants