Skip to content

[SYCL][GDB] Relax xmethod script template arg handling #3256

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

Conversation

mihails-strasuns-intel
Copy link
Contributor

Another minor tweak to xmethod script.

Depending on namespace inlining the template argument string may end
being "sycl:id<1>" or just "id<1>" rather than full "cl::sycl::id<1>"
currently expected.

Ideally a proper type lookup should happen, however, right now GDB does
not support inline namespaces so such lookup would always fail. This
patch relaxes regex matching instead as a compromise solution.

It does not seem possible to test this change within this repository,
unfortunately. It was manually verified at the moment of submission and
will be caught eventually by the debugger tests in case of regressions.
@romanovvlad romanovvlad merged commit 8e441d4 into intel:sycl Feb 25, 2021
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.

3 participants